Stateflow | ![]() ![]() |
Debugging Cyclic Behavior
When a step or sequence of steps is indefinitely repeated (recursive), this is called cyclic behavior. The Debugger cycle detection algorithms detect a class of infinite recursions caused by event broadcasts.
To detect cyclic behavior during a simulation, do the following:
See the following sections for examples of cyclic behavior:
![]() | Debugging Data Range Violations | Cyclic Behavior Example | ![]() |