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

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 |