Skip to Main Content Skip to Search
Product Documentation

defaultTransitions - Return default transitions in object at top level of containment

Syntax

defaultTransitions = thisObject.defaultTransitions

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.

Examples

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.

  


Free Stateflow Interactive Kit

Learn how engineers use Stateflow to model state machines in their Simulink models.


Get free kit

Trials Available

Try the latest version of Stateflow.


Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS