Stateflow    
innerTransitions

Return the inner transitions that originate with this chart or state and terminate on a contained object

Syntax

Description

The innerTransitions method returns the inner transitions that originate with this object and terminate on a contained object.

Arguments

None

Returns

thisObject
Object for which to get inner transitions. Can be of type State, Box, or Function.
transitions
Array of inner transitions originating with this object and terminating on a contained state or junction.

Example

State A contains state A1, and state A1 contains state A11. State A has two transitions, each originating from its inside edge and terminating inside it. These are inner transitions. One transition terminates with state A1 and the other terminates with state A11. The innerTransitions method of state A returns both of these transitions.


  help make