This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

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
Custom GaugeDisplay an input value on a customized gauge
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

Classes

Simulink.SimulationData.ParameterStores logged parameter data and metadata
Simulink.HMI.InstrumentedSignalsAccess logged signals in model
Simulink.HMI.SignalSpecificationInformation for logging 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.

Decide How to Visualize Simulation Data

Explains how to display your output directories.

Featured Examples