Filter löschen
Filter löschen

How to step through While Loop in Simulink?

14 Ansichten (letzte 30 Tage)
dzid_
dzid_ am 18 Nov. 2020
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?

Antworten (1)

Rohit Pappu
Rohit Pappu am 24 Nov. 2020
Breakpoints can be added to a particular signal using the Add Breakpoint option, under the Debug tab.
Addittional documentation can be found here
  1 Kommentar
Markus Scheitacker
Markus Scheitacker am 25 Jan. 2022
is there the possiblity to debug the iteration within the iteration counter within one time step in the while loop?

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Event Functions finden Sie in Help Center und File Exchange

Produkte


Version

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by