| Stateflow® | ![]() |
transitions = thisObject.sourcedTransitions
The sourcedTransitions method returns all inner and outer transitions that have their source in this object.
transitions | Source object of the returned transitions. Can be of type State, Box, Function, or Junction. |
transitions | Array of all transitions whose source is this object |
Suppose that a chart contains three states, A, B, and state A1, which is contained by state A. The chart also has three transitions: one from A to B labeled AtoB, one from B to A labeled BtoA, and one from the inner edge of A to its state A1 (inner transition) labeled AtoA1. If State object sA represents state A, the command sA.sourcedTransitions returns two transitions: the outer transition labeled AtoB and the inner transition labeled AtoA1.
![]() | setCodeFlag | Stateflow.Box | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |