Debug File Viewer
The Debug File Viewer lets you visualize the data in the .dhdf file that is generated when you run a simulation after selecting the Create debug file option in the Simulation Preferences.
On the ribbon, from the Tools menu, select the Debug File Viewer, and read in a .dhdf file to do the following:
- Gain access to all of the signals in a model.
- Plot any signal (results vs. time) in the model hierarchy.
- Plot multiple signals on the same plot. For example, view a signal before entering and after exiting a block.
- View debug files from two iterations and plot the files together to assess how modifications in a given iteration affect the simulation results.
- Right-click to open a context menu and select to show, hide or modify the plot legend and tooltip display.
Creating a Debug File
Capture the simulation results, including the signal data of a model, in a .dhdf file that can serve to debug a model.