How to step through While Loop in Simulink?

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.
How to debug While loops efficiently without ability to pause simulation?

답변 (1개)

Rohit Pappu
Rohit Pappu 2020년 11월 24일

0 개 추천

Breakpoints can be added to a particular signal using the Add Breakpoint option, under the Debug tab.
Addittional documentation can be found here

댓글 수: 1

is there the possiblity to debug the iteration within the iteration counter within one time step in the while loop?

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Simulink에 대해 자세히 알아보기

제품

릴리스

R2017b

질문:

2020년 11월 18일

댓글:

2022년 1월 25일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by