Stateflow |
 |
Quick Start for the Stateflow API
This section helps you create a single Stateflow chart and its member objects using the Stateflow API. It reflects the major steps in using the Stateflow API to create a Stateflow chart.
- Create a New Model and Chart -- Teaches you by example to create a new empty Stateflow diagram in its own new machine (model).
- Access the Machine Object -- Tells you how to access the Stateflow Machine object, which you need to access before you can access a Stateflow Chart object.
- Access the Chart Object -- Tells you how to access the Chart object so that you can begin creating Stateflow objects in the chart you created.
- Create New Objects in the Chart -- Gives many example commands for creating new objects in a new Stateflow chart.
| Using API Object Properties and Methods | | Create a New Model and Chart |  |