Main Content

Control Simulations with Interactive Dashboards

R2026b
Build interactive interfaces for your models using switches, buttons, lamps, and gauges

Create an interactive dashboard for your model using a variety of controls and displays available in the Dashboard library and the Customizable Blocks library.

  • Controls connect to variables and block parameters in your model, providing an interface for you to tune values during simulation.

  • Displays connect to signals and display the signal value during simulation.

To design custom dashboard blocks that look like controls and displays in your real system, choose blocks from the Customizable Blocks library. For example, you can create a photorealistic model of the speedometer in a real vehicle.

You can model real-life dashboards and control panels by adding blocks from the Dashboard library and the Customizable Blocks library to Simulink® panels. Panels float above the canvas, can be moved to any location over the canvas, and can be minimized when you want to work on the model underneath them. Panels can have multiple tabs, so that you can organize your dashboard blocks into different groups.

Blocks

expand all

Dashboard Scope blockDashboard ScopeTrace signals on scope display during simulation
Dashboard Display blockDisplayDisplay signal value during simulation
Gauge blockGaugeDisplay signal value on circular scale
Half Gauge blockHalf GaugeDisplay input value on semicircular scale
Quarter Gauge blockQuarter GaugeDisplay input value on quadrant scale
Linear Gauge blockLinear GaugeDisplay input value on linear scale
Lamp blockLampDisplay color that reflects signal value on lamp
MultiStateImage blockMultiStateImageDisplay image reflecting input value
Circular Gauge blockCircular GaugeDisplay signal value during simulation on circular gauge with customizable appearance
Half Gauge blockHalf GaugeDisplay signal value during simulation on gauge shaped as half-circle with customizable appearance (Since R2024a)
Quarter Gauge blockQuarter GaugeDisplay signal value during simulation on gauge shaped as quarter-circle with customizable appearance (Since R2024a)
Customizable Display blockDisplayDisplay signal value during simulation in box with customizable appearance (Since R2023b)
Horizontal Gauge blockHorizontal GaugeDisplay signal value during simulation on horizontal gauge with customizable appearance
Vertical Gauge blockVertical GaugeDisplay signal value during simulation on vertical gauge with customizable appearance
Lamp blockLampDisplay color that reflects signal value on lamp with customizable appearance
MultiStateImage blockMultiStateImageDisplay images based on signal values on block with customizable appearance (Since R2026b)
Edit blockEditEnter new value for parameter
Knob blockKnobTune parameter value with dial
Slider blockSliderTune parameter value with sliding scale
Push Button blockPush ButtonChange parameter or variable value using button
Rotary Switch blockRotary SwitchSwitch parameter to set values on dial
Radio Button blockRadio ButtonSelect parameter value
Combo Box blockCombo BoxSelect parameter value from drop-down menu
Check Box blockCheck BoxSelect parameter or variable value
Rocker Switch blockRocker SwitchToggle parameter between two values
Slider Switch blockSlider SwitchToggle parameter between two values
Toggle Switch blockToggle SwitchToggle parameter between two values
Callback Button blockCallback ButtonExecute MATLAB code using button
Customizable Edit blockEditEnter new value for parameter or variable during simulation in edit box with customizable appearance (Since R2026a)
Knob blockKnob Change parameter or variable value using knob with customizable appearance
Horizontal Slider blockHorizontal SliderChange parameter or variable value using horizontal slider with customizable appearance
Vertical Slider blockVertical SliderChange parameter or variable value using vertical slider with customizable appearance
Push Button block.Push ButtonChange parameter or variable value using button with customizable appearance
Callback Button blockCallback ButtonExecute MATLAB code using button with customizable appearance
Rotary Switch blockRotary SwitchChange parameter or variable value using rotary switch with customizable appearance
Radio Button blockRadio ButtonChange parameter or variable value during simulation using radio button with customizable appearance (Since R2025a)
Combo Box blockCombo BoxChange parameter or variable value during simulation using combo box with customizable appearance (Since R2025a)
Check Box blockCheck BoxChange parameter or variable value during simulation using check box with customizable appearance (Since R2024b)
Rocker Switch blockRocker SwitchChange parameter or variable value using switch with customizable appearance
Slider Switch blockSlider SwitchChange parameter or variable value using switch with customizable appearance
Toggle Switch blockToggle SwitchChange parameter or variable value using switch with customizable appearance

Tools

Simulation Pacing OptionsSlow simulation to a specified ratio of simulation time to wall clock time

Functions

simulink.dashboard.isDashboardBlockCheck whether block is dashboard block (Since R2026a)
simulink.dashboard.switchPanelTabSwitch dashboard panel tab (Since R2026a)

Objects

expand all

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

Model Dashboards with Panels

Connect Dashboard Blocks

Display Signals and Control Parameters with Dashboard Blocks

Learn More About Visualizing Simulation Data

Featured Examples