Display signal value during simulation
Simulink / Dashboard
The Display block connects to a signal in your model and displays its value during simulation. You can edit the parameters of the Display block while a simulation runs. Use the Display block with other Dashboard blocks to build an interactive dashboard of controls and indicators for your model.
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 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.
Parameters specified by indexing a variable array do not appear in the
Connection table. For example, a block parameter
defined using the variable
engine(1) does not appear in the
To access the parameter in the Connection table, assign the
indexed value to a scalar variable, such as
engine_1. Then, use the
scalar variable to define the block parameter.
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.
Format— Format for displaying numerical values
Format for displaying numerical values.
When you select
long, the block displays
numeric signal values using up to 15 digits with a fixed decimal
point that displays up to four decimal places.
When you select
long_e, the block displays
numeric signal values in scientific notation using up to 16
digits with a floating decimal point.
Alignment— Text alignment in block
Text alignment in Display block.
Label— Block label position
Position of the block label. When the block is connected to a signal, the label is the name of the connected signal. When the block is not connected, the label is the instructional text.