Main Content

Dashboard

R2026b
Blocks that control parameter values and display signal data during simulation, such as Display, Slider, and Lamp

Use blocks from the Dashboard library to build an intuitive and interactive interface for your model. Control blocks (such as Knob and Slider) connect to tunable parameters and let you adjust values during simulation. Display blocks (such as Gauge and Lamp) connect to signals and show their values in real time. For more information, see Control Simulations with Interactive Dashboards.

To add blocks from this library to your model, see Add Blocks to Models.

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 Button blockCallback ButtonExecute MATLAB code using button
Check Box blockCheck BoxSelect parameter or variable value
Combo Box blockCombo BoxSelect parameter value from drop-down menu
Dashboard Scope blockDashboard ScopeTrace signals on scope display during simulation
Dashboard Display blockDisplayDisplay signal value during simulation
Edit blockEditEnter new value for parameter
Customizable Edit blockEditEnter new value for parameter or variable during simulation in edit box with customizable appearance (Since R2026a)
Gauge blockGaugeDisplay signal value on circular scale
Half Gauge blockHalf GaugeDisplay input value on semicircular scale
Knob blockKnobTune parameter value with dial
Lamp blockLampDisplay color that reflects signal value on lamp
Linear Gauge blockLinear GaugeDisplay input value on linear scale
MultiStateImage blockMultiStateImageDisplay image reflecting input value
Push Button blockPush ButtonChange parameter or variable value using button
Quarter Gauge blockQuarter GaugeDisplay input value on quadrant scale
Radio Button blockRadio ButtonSelect parameter value
Rocker Switch blockRocker SwitchToggle parameter between two values
Rotary Switch blockRotary SwitchSwitch parameter to set values on dial
Slider blockSliderTune parameter value with sliding scale
Slider Switch blockSlider SwitchToggle parameter between two values
Toggle Switch blockToggle SwitchToggle parameter between two values

Tools

Library BrowserFind and add blocks to model

Topics

Featured Examples