Create atomic subchart
atomic_subchart_new = Stateflow.AtomicSubchart(parent)
Stateflow.AtomicSubchart method is a constructor method for creating an
atomic subchart in a parent chart, state, or box. This method returns a handle to
AtomicSubchart object. For more information on atomic
subcharts, see Create Reusable Subcomponents by Using Atomic Subcharts.
Handle to the object for the parent chart, state, or box that contains the new atomic subchart
Handle to Atomic Subchart object for newly created atomic subchart
sA is a handle to a State object for the
A, the following command creates
a new atomic subchart parented (contained) by state
atomic_subchart_new = Stateflow.AtomicSubchart(sA)
The new atomic subchart appears in the upper left corner of
A in the chart.
a handle to the new Atomic Subchart object that you can use to rename
the atomic subchart, set its properties, and execute its methods.