Documentation

Dashboard Scope

Trace signals during simulation

  • Library:
  • Simulink / Dashboard

Description

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.

Connection

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.

  1. Double-click the block.

  2. Populate the Connection table by selecting signals of interest in your model.

  3. Mark the option button next to the signal you want to display.

  4. Click Apply.

Data Cursors

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.

Zoom and Pan

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.

Limitations

  • You cannot save the block connections or properties in model files that use the MDL format.

    To save connections and properties, save the model file in the SLX format.

  • 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.

Parameters

expand all

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.

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.

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.

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.

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.

When on, performs a fit-to-view operation on the data displayed in the scope when the simulation stops.

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.

Introduced in R2015a

Was this topic helpful?