Borrar filtros
Borrar filtros

How to step through While Loop in Simulink?

14 visualizaciones (últimos 30 días)
dzid_
dzid_ el 18 de Nov. de 2020
Comentada: Markus Scheitacker el 25 de En. de 2022
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?

Respuestas (1)

Rohit Pappu
Rohit Pappu el 24 de Nov. de 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 comentario
Markus Scheitacker
Markus Scheitacker el 25 de En. de 2022
is there the possiblity to debug the iteration within the iteration counter within one time step in the while loop?

Iniciar sesión para comentar.

Categorías

Más información sobre Event Functions en Help Center y File Exchange.

Productos


Versión

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by