Identify inner transitions with specified source
returns an array of
transitions = innerTransitions(
Stateflow.Transition objects that
correspond to the inner transitions of the specified source state. An inner
transition is a transition that does not exit the source state. For more
information, see Control Chart Execution by Using Inner Transitions.
Identify Inner Transitions
ch is the
Stateflow.Chart object that corresponds to this chart.
Stateflow.State object named
sA = find(ch,"-isa","Stateflow.State",Name="A");
Identify the transition whose source is state
whose destination is inside state
A. Display the name of
tr = innerTransitions(sA); tr.Destination.Name
ans = 'B'
Introduced before R2006a