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 Button | Execute MATLAB code using button with customizable appearance (Since R2021b) |
Check Box | Change parameter or variable value during simulation using check box with customizable appearance (Since R2024b) |
Circular Gauge | Display signal value during simulation on circular gauge with customizable appearance (Since R2020b) |
Display | Display signal value during simulation with customizable appearance (Since R2023b) |
Half Gauge | Display signal value during simulation on gauge shaped as half-circle with customizable appearance (Since R2024a) |
Horizontal Gauge | Display signal value during simulation on horizontal gauge with customizable appearance (Since R2020a) |
Horizontal Slider | Change 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) |
Lamp | Display color that reflects signal value on lamp with customizable appearance (Since R2021b) |
Push Button | Change parameter or variable value using button with customizable appearance (Since R2021b) |
Quarter Gauge | Display signal value during simulation on gauge shaped as quarter-circle with customizable appearance (Since R2024a) |
Rocker Switch | Change parameter or variable value using switch with customizable appearance (Since R2021b) |
Rotary Switch | Change parameter or variable value using rotary switch with customizable appearance (Since R2021b) |
Slider Switch | Change parameter or variable value using switch with customizable appearance (Since R2021b) |
Toggle Switch | Change parameter or variable value using switch with customizable appearance (Since R2021b) |
Vertical Gauge | Display signal value during simulation on vertical gauge with customizable appearance (Since R2020a) |
Vertical Slider | Change parameter or variable value using vertical slider with customizable appearance (Since R2021a) |