Trace signals during simulation
Simulink / Dashboard
The Dashboard Scope block shows connected signals during simulation on a scope display. You can use the Dashboard Scope block with other Dashboard blocks to build an interactive dashboard of controls and indicators for your model. The Dashboard Scope block provides a complete picture of a signal's behavior over the course of the simulation. Use the Dashboard Scope block to display real (not complex) signals of any data type that Simulink® supports, including enumerated data types.
Dashboard blocks do not use ports to connect to signals. To connect a signal to a Dashboard block, use the Connection table in the block's parameters.
Double-click the block.
Populate the Connection table by selecting signals of interest in your model.
Mark the option button next to the signal you want to display.
You can add data cursors to the Dashboard Scope to inspect the displayed signals. To add data cursors, right-click the Dashboard Scope block. Under the Data Cursors menu, select the number of cursors you want to add.
You can also zoom and pan to inspect your signals. To change zoom and pan modes, right-click the Dashboard Scope block, and select the zoom or pan mode you want.
You cannot save the block connections or properties in model files that use
To save connections and properties, save the model file in the
Dashboard blocks can only connect to real scalar signals.
Dashboard blocks cannot connect to blocks that are commented out.
Dashboard blocks cannot connect to signals inside reference models.
If you turn off logging for a signal connected to a Dashboard block, the model stops sending data from that signal to the block. To view the signal again, reconnect the signal.
External mode simulation does not support visualization Dashboard blocks.
Connection— Select a signal to connect and display
Signal connection options. Populate the Connection table by selecting signals of interest in your model. Mark the check box next to the signal you want to display. Click Apply to connect the signal.
Time Span— Set horizontal axis span
A finite, real double, scalar value that sets the time span of the block's scope display.
When Time Span is specified as
auto, the block sets its
time span to the model's simulation stop time.
Min— Set y-axis minimum
A finite, real, double, scalar value that sets the minimum of the vertical axis on the block's scope display.
The Min value must be less than the Max value.
Max— Set y-axis maximum
A finite, real, double, scalar value that sets the maximum of the vertical axis on the block's scope display.
The Max value must be greater than the Min value.
Legend— Set position of legend
Options from the drop-down menu specify the position of the legend in the block's scope display. The legend shows the color chosen for each connected signal next to the signal's name.
Scale axes limits at stop— Autoscale axes limits when simulation finishes
When on, performs a fit-to-view operation on the data displayed in the scope when the simulation stops.
Show "Double-click to connect" message— Show or hide message
When on, shows instructional text if the block is not connected. When the block is not connected, you can turn this parameter off to hide the text.