Stateflow    

Creating and Destroying API Objects

You create (construct), parent (contain), and delete (destroy) objects in Stateflow through 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:


  Displaying Enumerated Values for Properties Creating Stateflow Objects