![](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!