I have a Stateflow chart that implements a counter that resets after it hits the maximum count. The state that resets the counter is entered after a broadcast counter stop event is fired from the exit action of a parallel state. When the parallel state that fires this event is higher in the decomposition order than the state that resets the counter, I see the following error in the Stateflow Debugger:
Runtime error: Infinite cycle detected
Best Answer