Simulink 편집기에서 시뮬레이션 디버그하기
모델 캔버스에서 시뮬레이션 디버그 및 분석, 중단점 설정, 시간 스텝 단위의 순차적 실행 및 블록 단위의 순차적 실행
Simulink® 편집기에서 사용 가능한 디버그 툴을 사용하여 다음을 수행할 수 있습니다.
중단점을 설정하여 원하는 시점에서 시뮬레이션을 일시 중지합니다.
모델 전체에 걸쳐 중단점을 보고 관리합니다.
한 번에 하나의 시간 스텝 또는 한 번에 하나의 블록씩 시뮬레이션을 순차적으로 실행합니다.
신호에 포트 값 레이블을 추가하여 시뮬레이션을 순차적으로 실행하면서 신호 값이 어떻게 바뀌는지 확인합니다.
모델 캔버스는 블록 다이어그램 내 컨텍스트에 중단점과 포트 값 레이블을 표시하므로 한 곳에서 모델을 분석, 디버그 및 수정할 수 있습니다.
툴
시뮬레이션 스텝 옵션 | Enable stepping back and configure number of time steps to move when stepping through simulation |
중단점 목록 | View, configure, and manage breakpoints for debugging models |
도움말 항목
시뮬레이션 일시 중지 및 스텝 이동
- 시뮬레이션을 순차적으로 실행하기
주 시간 스텝을 순차적으로 실행하고, 블록 다이어그램에서 신호 값을 확인하고, 시뮬레이션 스텝 옵션을 구성. - Debug Simulation Using Signal Breakpoints
Set breakpoints to pause simulation at points of interest then step through simulation block by block. - How Stepping Through Simulation Works
Learn how simulation snapshots work. - Debug Simulation of Iterator Subsystem
Explore options for stepping through and debugging simulations of models that contain iterator subsystems.
블록 다이어그램에서 정보 보기
- Display Port Values for Debugging
Display the values of block outputs on the block diagram during simulation. - Control and Display Execution Order
Determine the execution order among blocks within tasks. - View Sample Time Information
How to access sample time information interactively.