![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/425678/image.png)
How to step through While Loop in Simulink?
조회 수: 14 (최근 30일)
이전 댓글 표시
Simulink doesn't stop in at desired conditional breakpoint inside the While Loop. It even say it hit the value, but it never pauses is in the minor step.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/418848/image.png)
How to debug While loops efficiently without ability to pause simulation?
댓글 수: 0
답변 (1개)
Rohit Pappu
2020년 11월 24일
Breakpoints can be added to a particular signal using the Add Breakpoint option, under the Debug tab.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/425678/image.png)
Addittional documentation can be found here
댓글 수: 1
Markus Scheitacker
2022년 1월 25일
is there the possiblity to debug the iteration within the iteration counter within one time step in the while loop?
참고 항목
카테고리
Help Center 및 File Exchange에서 Event Functions에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!