Main Content

Dashboard

Blocks that can control parameter values and display signal values during simulation

Use dashboard blocks to build an intuitive and interactive interface for your model. The control blocks, such as the Knob block, connect to variables or tunable parameters in your model and allow you to interactively modify the value of the connected element during simulation. The display blocks connect to signals in the model and display the signal value during simulation. For more information, see Control Simulations with Interactive Displays.

You can design dashboard blocks that look like controls and displays in your real system using the blocks in the Customizable Blocks library.

Blocks

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

Featured Examples