Identify inner transitions with specified source
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'