Main Content

La traducción de esta página aún no se ha actualizado a la versión más reciente. Haga clic aquí para ver la última versión en inglés.

Controlar simulaciones con visualizaciones interactivas

Cree un panel para el modelo, ajuste de forma interactiva los valores de los parámetros y monitorice los valores de las señales durante la simulación

Cree un panel interactivo para su modelo utilizando una variedad de controles y bloques de visualización disponibles en la biblioteca Dashboard.

  • Los controles se conectan a las variables y a los parámetros de los bloques en su modelo, lo que proporciona una interfaz para ajustar los valores durante la simulación.

  • Los bloques de visualización se conectan con las señales y muestran el valor de la señal durante la simulación.

Para diseñar bloques de panel personalizados que se parezcan a los controles y visualizaciones de un sistema real, utilice los bloques de la biblioteca Customizable Blocks. Por ejemplo, puede crear un modelo fotorrealista del tablero de instrumentos de un vehículo real.

The top half of the image is titled "Tune parameter values and monitor signal values with dashboard blocks." It shows an assortment of dashboard blocks. The left side is labeled "Use pre-configured blocks from the Dashboard Library." Three blocks from the Dashboard library are shown: the Lamp block, the Gauge block, and the Slider Switch block. The right side is labeled "Design custom blocks with the Customizable Blocks Library." Three blocks from the Customizable Blocks Library are shown: the Lamp block, the Circular Gauge block, and the Slider Switch block. The image also shows a fuel light made with the customizable Lamp block, a tachometer made with the Circular Gauge block, and a gearbox made with the customizable Slider Switch block. The bottom half of the image is labeled "And organize the blocks into dashboard panels." It shows a dashboard panel with two tabs. The open tab shows an automotive dashboard with a speedometer and a tachometer, each made from a Circular Gauge block, and a fuel light made from a customizable Lamp block.

Bloques

expandir todo

Dashboard ScopeTrace signals on scope display during simulation
DisplayDisplay signal value during simulation
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
LampDisplay color that reflects signal value on 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
LampDisplay color that reflects signal value on lamp with customizable appearance
EditEnter new value for parameter
KnobTune parameter value with dial
SliderTune parameter value with sliding scale
Push ButtonChange parameter or variable value using 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 SwitchToggle parameter between two values
Slider SwitchToggle parameter between two values
Toggle SwitchToggle parameter between two values
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
Push ButtonChange parameter or variable value using button with customizable appearance
Callback ButtonExecute MATLAB code using button with customizable appearance
Rotary SwitchChange parameter or variable value using rotary switch with customizable appearance
Rocker SwitchChange parameter or variable value using switch with customizable appearance
Slider SwitchChange parameter or variable value using switch with customizable appearance
Toggle SwitchChange parameter or variable value using switch with customizable appearance

Clases

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

Temas