| Contents | Index |
parentObject = thisObject.up
The up method returns a handle to the parent of this object.
thisObject | Object for which to return parent (containing) object |
parentObject | Object containing thisObject |
Assume that a chart has two states, A and B, and state A contains state B. If the object sB represents the state B, then the command
p = sB.up
returns a handle p to the parent of B, which is state A.

Learn how engineers use Stateflow to model state machines in their Simulink models.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |