시뮬레이션 중에 데이터 보기
Scope 블록 및 Scope 뷰어는 시간 경과에 따라 시뮬레이션 데이터를 시각화할 수 있는 빠른 방법을 제공합니다. 모델을 프로토타이핑하는 경우 신호를 Scope 블록에 연결하고, 모델을 시뮬레이션한 후 스코프 창에서 결과를 확인합니다. 이 결과를 사용하여 설계를 검증할 수 있습니다. 모델을 디버그해야 할 경우 Scope의 오실로스코프와 같은 툴(예: 트리거 및 커서 측정)을 사용하여 문제를 찾습니다. 자세한 내용은 Prototype and Debug Models with Scopes 항목을 참조하십시오.

블록
Scope | Display signals generated during simulation |
Floating Scope and Scope Viewer | Display signals generated during simulation without signal lines |
Record, XY Graph | Log data to the workspace, to a file, or both (R2021a 이후) |
객체
TimeScopeConfiguration | Control Scope block appearance and behavior |
툴
시뮬레이션 데이터 인스펙터 | 데이터와 시뮬레이션 결과를 검사하고 비교하여 모델 설계 검증 및 반복 |
함수
Simulink.sdi.addTrigger | Add trigger to signal to control display updates in the Simulation Data Inspector (R2020b 이후) |
Simulink.sdi.getTrigger | Get signal and trigger options for trigger configured in the Simulation Data Inspector (R2020b 이후) |
Simulink.sdi.removeTrigger | Remove trigger from signal in the Simulation Data Inspector (R2020b 이후) |
Simulink.sdi.setRecordData | Specify record mode for logging (R2021a 이후) |
Simulink.sdi.getRecordData | Check record mode for logging (R2021a 이후) |
도움말 항목
- Common Scope Block Tasks
Step-by-step procedures of common scope tasks, including logging data, sharing scope images, and display manipulation.
- View Values of Parameters Set as Variables
Evaluate parameters defined as variables or variable expressions while editing a model and during simulation.
- Floating Scope and Scope Viewer Tasks
Step-by-step procedures for frequently carried out Floating Scope block and Scope viewer tasks.
- Control Scope Blocks Programmatically
This example shows how to control scopes with programming scripts.
- Sample Time with Scope Blocks
Understand sample time inheritance when using the Scope and Time Scope blocks.
- Decide How to Visualize Simulation Data
Choose the right visualization technique for each modeling and simulation task.
- Scope Blocks and Scope Viewer Overview
Choices about how to display simulation results graphically.
- Prototype and Debug Models with Scopes
Prototype and debug models by using scopes and scope measurements.
- Viewers and Generators Manager
Generate and visualize signals without blocks.
- Generate Signals Without Source Blocks
Step-by-step procedures for attaching, modifying, and removing signal generators.
- View Streaming Data in the Simulation Data Inspector
Control the time axis, display scaling, and display offset while data is streaming in the Simulation Data Inspector.
- Control Display of Streaming Data Using Triggers
Use triggers in the Simulation Data Inspector to control when plot displays update to display new data.
- Access Data in MATLAB Function During Simulation
Stream signal data to a MATLAB® callback function during simulation for processing and visualization.