Control Simulations with Interactive Displays

Interactively control and verify output from simulations using dashboard blocks

Create an interactive display of controls and displays within your model diagram using blocks from the Dashboard library. Connect block parameters to control blocks (knobs, buttons, and switches) and signals to displays blocks (scopes and gauges).


Dashboard ScopeTrace signals during simulation
DisplayDisplay signal value during simulation
GaugeDisplay input value on circular scale
Half GaugeDisplay input value on semicircular scale
Linear GaugeDisplay input value on linear scale
Quarter GaugeDisplay input value on quadrant scale
LampDisplay color reflecting input value
MultiStateImageDisplay image reflecting input value
EditEnter new value for parameter
KnobTune parameter value with dial
SliderTune parameter value with sliding scale
Push ButtonSet value of parameter when button is pressed
Rotary SwitchSwitch parameter to set values on dial
Radio ButtonSelect parameter value
Combo BoxSelect parameter value from drop-down menu
Check BoxSelect parameter or variable value
Rocker SwitchToggle parameter between two values
Slider SwitchToggle parameter between two values
Toggle SwitchToggle parameter between two values
Callback ButtonExecute MATLAB code based on user input


Simulink.HMI.InstrumentedSignalsAccess logged signals in model
Simulink.HMI.SignalSpecificationInformation for logging a signal


Tune and Visualize Your Model with Dashboard Blocks

Use blocks in the Dashboard block library to visualize and interact with your model.

Decide How to Visualize Simulation Data

Explains how to display your output directories.

Featured Examples

Was this topic helpful?