디버그
차트, 상태, 천이, 그래픽 함수, 진리표 함수, 로컬 이벤트, 입력 이벤트와 같은 특정 객체에서 실행을 중지하도록 중단점을 설정합니다. 중단점 및 관찰 창에서 중단점에 대한 조건을 활성화, 비활성화, 설정합니다. 중단점 및 관찰 창에서 시뮬레이션 중에 모니터링할 데이터를 추가합니다. 중단점에서 실행이 중지된 후 데이터 값을 변경하고 시뮬레이션을 순차적으로 실행합니다.
또한 시뮬레이션 중에 MATLAB® 명령 창에서 Stateflow® 데이터의 값을 표시하고 변경할 수 있습니다.
MATLAB에서 실행하는 Stateflow 차트 객체 디버깅에 대한 내용은 Debug a Standalone Stateflow Chart 항목을 참조하십시오.
도움말 항목
- Set Breakpoints to Debug Charts
A breakpoint indicates a point at which Stateflow halts the simulation of a chart.
- Inspect and Modify Data and Messages While Debugging
Shows you various ways that you can track the values for Stateflow data and self activity during simulation.
- Control Chart Execution After a Breakpoint
A breakpoint indicates a point at which Stateflow halts the simulation of a chart.
- Use Active State Output to Debug Charts
Find and eliminate errors in Stateflow charts.
- 편집 시 모델링 오류 검출하기
Stateflow 차트를 설계할 때 모델링 오류를 검출합니다.
- Detect Common Modeling Errors During Simulation
Find common modeling errors when you simulate your Stateflow chart.
- Animate Stateflow Charts
Visually check behavior during simulation by using chart animation.
- Comment Out Objects in a Stateflow Chart
Exclude Stateflow objects from simulation.
- Debug Run-Time Errors in a State Transition Table
Use breakpoints to debug state transition tables.
- Debug a MATLAB Function in a Chart
Use breakpoints to debug MATLAB functions.
- Debug Errors in a Truth Table
Use breakpoints to debug truth tables.
- Avoid Unwanted Recursion in a Chart
Describes guidelines for avoiding unwanted recursive behavior.