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

Blocks

expand all

Dashboard ScopeTrace signals during simulation
DisplayDisplay signal value during simulation
Circular GaugeDisplay signal value on circular, customizable gauge during simulation
GaugeDisplay signal value on circular scale
Half GaugeDisplay input value on semicircular scale
Quarter GaugeDisplay input value on quadrant scale
Horizontal GaugeDisplay signal value on horizontal, customizable gauge during simulation
Vertical GaugeDisplay signal value on vertical, customizable gauge during simulation
Linear GaugeDisplay input value on linear 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

Classes

Simulink.SimulationData.ParameterStores logged parameter data and metadata
Simulink.HMI.InstrumentedSignalsSave and restore signal logging specification
Simulink.HMI.SignalSpecificationProgrammatically connect a Dashboard block to a signal
Simulink.HMI.ParamSourceInfoInformation about Dashboard block variable and parameter connections

Topics

Tune and Visualize Your Model with Dashboard Blocks

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

Interactively Design and Debug Models Using Panels

Use a panel containing Dashboard blocks to design and debug your model.

Simulation Pacing

Specify a pace to slow down simulations.

Decide How to Visualize Simulation Data

Choose the right visualization technique for each modeling and simulation task.

Featured Examples