Main Content

Customizable Blocks

Blocks with customizable appearance that control parameter values and display signal values during simulation

Design dashboard blocks for your model that look like controls and displays in your real system.

You can 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.

Blocks

Callback ButtonExecute MATLAB code using button with customizable appearance (Since R2021b)
Circular GaugeDisplay signal value during simulation on circular gauge with customizable appearance (Since R2020b)
DisplayDisplay signal value during simulation with customizable appearance (Since R2023b)
Half GaugeDisplay signal value during simulation on gauge shaped as half-circle with customizable appearance (Since R2024a)
Horizontal GaugeDisplay signal value during simulation on horizontal gauge with customizable appearance (Since R2020a)
Horizontal SliderChange parameter or variable value using horizontal slider with customizable appearance (Since R2021a)
Knob Change parameter or variable value using knob with customizable appearance (Since R2021a)
LampDisplay color that reflects signal value on lamp with customizable appearance (Since R2021b)
Push ButtonChange parameter or variable value using button with customizable appearance (Since R2021b)
Quarter GaugeDisplay signal value during simulation on gauge shaped as quarter-circle with customizable appearance (Since R2024a)
Rocker SwitchChange parameter or variable value using switch with customizable appearance (Since R2021b)
Rotary SwitchChange parameter or variable value using rotary switch with customizable appearance (Since R2021b)
Slider SwitchChange parameter or variable value using switch with customizable appearance (Since R2021b)
Toggle SwitchChange parameter or variable value using switch with customizable appearance (Since R2021b)
Vertical GaugeDisplay signal value during simulation on vertical gauge with customizable appearance (Since R2020a)
Vertical SliderChange parameter or variable value using vertical slider with customizable appearance (Since R2021a)