Create atomic box
atomic_box_new = Stateflow.AtomicBox(parent)
The Stateflow.AtomicBox
method is a constructor method for creating an
atomic box in a parent chart, state, box, or graphical function. This method returns
a handle to the new AtomicBox
object.
| Handle to the object for the parent chart, state, box, or function that contains the new atomic box |
| Handle to Atomic Box object for newly created atomic box |
If sA
is a handle to a State object for the
existing state A
, the following command creates
a new atomic box parented (contained) by state A
:
atomic_box_new = Stateflow.AtomicBox(sA)
The new atomic box appears in the upper left corner of state A
in
the chart. atomic_box_new
is a handle to the new
Atomic Box object that you can use to rename the atomic box, set its
properties, and execute its methods.