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?

Answers (1)

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

1 Comment

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

Sign in to comment.

Categories

Find more on Simulink in Help Center and File Exchange

Products

Release

R2017b

Asked:

on 18 Nov 2020

Community Treasure Hunt

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

Start Hunting!