Stateflow question: transitions evaluated before state is executed
4 views (last 30 days)
I was wondering wether there is a type of transition in Stateflow which is evaluated before the state is executed.
I have two superstates wich own two substates each inside, so what I want is the transition between the superstates to be evaluated before the substate of the active superstate is executed. Is that possible?
Jarrod Rivituso on 25 May 2011
I believe that is actually the default behavior. Generally, outer transitions (ones on the super states) are tested first, and then inner transitions (ones on the substates) are tested.
Also, I believe if a transition will cause a state to be left at a particular time step, then no "during" action will occur for that state. Is that what you meant by the superstate being "executed"?