Main Content

本页翻译不是最新的。点击此处可查看最新英文版本。

可自定义的模块

具有可自定义外观的模块,用于在仿真期间控制参数值和显示信号值

为您的模型设计看起来像真实系统中的控制器和显示器的 Dashboard 模块。

您可以使用 Dashboard 模块为您的模型编译直观的交互式界面。控制模块(如 Knob 模块)连接到模型中的变量或可调参数,并允许您在仿真期间以交互方式修改所连接元素的值。显示模块连接到模型中的信号,并在仿真期间显示信号值。有关详细信息,请参阅 通过交互显示控制仿真

模块

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