| Stateflow User's Guide | ![]() |
Creating and Destroying API Objects
You create (construct), parent (contain), and delete (destroy) objects in Stateflow through constructor methods in the Stateflow API. For all but the Editor and Clipboard objects, creating objects establishes a handle to them that you can use for accessing their properties and methods to make modifications to Stateflow diagrams. See the following sections:
Stateflow objects are contained (parented) by other objects as defined in the Stateflow hierarchy of objects (see Stateflow API Object Hierarchy). You control containment of nongraphical objects in the Stateflow Explorer.
| Displaying Enumerated Values for Properties | Creating Stateflow Objects | ![]() |
© 1994-2005 The MathWorks, Inc.