이 번역 페이지는 최신 내용을 담고 있지 않습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.
시뮬레이션 중에 데이터 보기
Simulink®에서 스코프와 뷰어를 사용하여 시뮬레이션 중에 신호를 시각화 및 측정하고 모델을 디버그하고 설계를 검증합니다. 신호를 Scope 블록에 연결하거나, 신호 선을 연결하지 않고 모델에 Floating Scope and Scope Viewer를 추가할 수 있습니다. 시뮬레이션 결과를 사용하여 설계를 검증하고 반복합니다. 자세한 내용은 Prototype and Debug Models with Scopes 항목을 참조하십시오.
스코프의 측정 설정을 사용하면 스코프 창에 표시되는 신호의 다양한 특성을 측정할 수 있습니다. 예를 들면 커서를 사용하여 신호 값을 측정하고, 신호 통계량을 계산하고, 피크 값을 구하고, 이진 측정값(예: 신호 천이, 오버슈트, 언더슈트, 사이클 등)을 표시하고, 트리거를 설정하여 반복 신호를 동기화하고, 특정 이벤트 발생 시 디스플레이를 일시 중지할 수 있습니다.
스코프 컨테이너를 사용하면 Simulink 모델의 여러 스코프를 단일 창에 도킹할 수 있습니다. 컨테이너는 신호를 시각화하고 스코프의 설정을 관리할 수 있는 편리한 인터페이스를 제공합니다.
또한 시뮬레이션 데이터를 확인하고 Record 블록을 사용하여 작업 공간 또는 파일에 기록하거나 양쪽 모두에 기록할 수 있습니다. 시뮬레이션 데이터 인스펙터를 사용하면 데이터 및 시뮬레이션 결과를 검사하고 비교할 수 있으며 이를 통해 모델 설계를 검증하고 반복할 수 있습니다.

블록
Scope | 시뮬레이션 중에 생성된 신호 표시 |
Floating Scope and Scope Viewer | Display signals generated during simulation without signal lines |
Record | View and log data to the workspace, a file, or both (R2021a 이후) |
객체
TimeScopeConfiguration | Control Scope block appearance and behavior |
툴
시뮬레이션 데이터 인스펙터 | 데이터와 시뮬레이션 결과를 검사하고 비교하여 모델 설계 검증 및 반복 |
도움말 항목
- Decide How to Visualize Simulation Data
Choose the right visualization technique for each modeling and simulation task.
- 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.
- 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.