| Stateflow User's Guide | ![]() |
Return the parent object of this object
Syntax
Description
The up method returns a handle to the object that contains an this object.
Arguments
thisObject |
Object for which to return parent (containing) object |
Returns
parentObject |
Object containing thisObject |
Example
Assume that a Stateflow diagram has two states, A and B, and state A contains state B. If the object sB represents the state B, then the command
returns a handle p to the parent of B, which is state A.
| struct | view | ![]() |
© 1994-2005 The MathWorks, Inc.