Main Content

대화형 디스플레이로 시뮬레이션 제어하기

모델을 위한 대시보드 구축, 대화형 방식으로 파라미터 값 조정, 시뮬레이션 중에 신호 값 모니터링

Dashboard 라이브러리에서 사용 가능한 다양한 컨트롤 및 디스플레이를 사용하여 모델을 위한 대화형 대시보드를 만듭니다.

  • 컨트롤은 모델의 변수 및 블록 파라미터에 연결되어 시뮬레이션 도중 값을 조정하기 위한 인터페이스를 제공합니다.

  • 디스플레이는 신호에 연결되어 시뮬레이션 도중 신호 값을 표시합니다.

실제 시스템의 컨트롤 및 디스플레이처럼 보이는 사용자 지정 Dashboard 블록을 설계하려면 Customizable Block 라이브러리의 블록을 사용하십시오. 예를 들어, 실제 이동체에서 대시보드 계측의 실사 모델을 만들 수 있습니다.

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.

블록

모두 확장

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

클래스

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

도움말 항목