| Stateflow® | ![]() |
parentObject = thisObject.up
The up method returns a handle to the object that contains an this object.
thisObject | Object for which to return parent (containing) object |
parentObject | Object containing thisObject |
Assume that a Stateflow 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.
![]() | struct | view | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |