How to step through While Loop in Simulink?

6 次查看(过去 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.
How to debug While loops efficiently without ability to pause simulation?

回答(1 个)

Rohit Pappu
Rohit Pappu 2020-11-24
Breakpoints can be added to a particular signal using the Add Breakpoint option, under the Debug tab.
Addittional documentation can be found here
  1 个评论
Markus Scheitacker
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 CenterFile Exchange 中查找有关 Event Functions 的更多信息

产品


版本

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by