Create box
box_new = Stateflow.Box(parent)
The Stateflow.Box
method is a constructor method for creating a box in a
parent chart, state, box, or graphical function. This method returns a handle to the
new Box
object.
| Handle to an object for the parent chart, state, box, or function of the new box |
| 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.