| Contents | Index |
box_new = Stateflow.Box(parent)
The Stateflow.Box method is a constructor method for creating boxes in a parent chart, state, box, or function, that returns a handle to an Event object for the new function.
Handle to an object for the parent chart, state, box, or function of the new box |
box_new | Handle to the Box object for the new box |
If sA is a handle to a State object for an existing state A, the following command creates a new box parented (contained by) state A:
box_new = Stateflow.Box(sA)
The new box is unnamed and appears in the upper left corner inside state A. box_new is a handle to a Box object for the new box.

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 |