Stateflow    
defaultTransitions

Return the default transitions in this object at the top level of containment

Syntax

Description

The defaultTransitions method returns the default transitions in this object at the top level of containment.

Arguments

thisObject
The object for which to return default transitions. Can be an object of type Chart, State, Box, or Function.

Returns

defaultTransitions
Array of default transitions in this object at the top level of containment

Example

If state A contains state A1, and state A1 contains state A11, and states A1 and A11 have default transitions attached to them, the defaultTransitions method of state A returns the default transition attached to state A1.


  copy delete