Main Content

本页的翻译已过时。点击此处可查看最新英文版本。

通过交互显示控制仿真

使用 Dashboard 模块通过交互方式控制和验证仿真输出

使用 Dashboard 库中的模块,在模型图中为控制和显示控件创建交互式显示方式。将模块参数连接到控制模块(旋钮、按钮和开关)和信号以显示模块(示波器和仪表)。

模块

全部展开

Dashboard Scope在仿真过程中跟踪信号
Display在仿真期间显示信号值
GaugeDisplay signal value on circular scale
Half GaugeDisplay input value on semicircular scale
Quarter GaugeDisplay input value on quadrant scale
Linear GaugeDisplay input value on linear scale
Lamp显示反映输入值的颜色
MultiStateImageDisplay image reflecting input value
Circular GaugeDisplay signal value during simulation on circular gauge with customizable appearance
Horizontal GaugeDisplay signal value during simulation on horizontal gauge with customizable appearance
Vertical GaugeDisplay signal value during simulation on vertical gauge with customizable appearance
EditEnter new value for parameter
KnobTune parameter value with dial
Slider用滑动标尺调整参数值
Push Button设置按下按钮时的参数值
Rotary SwitchSwitch parameter to set values on dial
Radio ButtonSelect parameter value
Combo BoxSelect parameter value from drop-down menu
Check BoxSelect parameter or variable value
Rocker Switch将参数在两个值之间切换
Slider SwitchToggle parameter between two values
Toggle Switch将参数在两个值之间切换
Callback ButtonExecute MATLAB code using button
KnobChange parameter or variable value using knob with customizable appearance
Horizontal SliderChange parameter or variable value using horizontal slider with customizable appearance
Vertical SliderChange parameter or variable value using vertical slider with customizable appearance

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

主题

使用 Dashboard 模块对模型进行调优和可视化

使用 Dashboard 模块库中的模块对模型进行可视化并与之交互。

Interactively Design and Debug Models Using Panels

Use a panel containing Dashboard blocks to design and debug your model.

Simulation Pacing

Specify a pace to slow down simulations.

Design Custom Gauges

Design gauges using the Circular Gauge, Horizontal Gauge, and Vertical Gauge blocks.

决定如何可视化仿真数据

为每个建模和仿真任务选择正确的可视化方法。

特色示例