Stateflow User's Guide Previous page   Next Page

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:

  1. Create a New Model and Chart -- Teaches you by example to create a new empty Stateflow diagram in its own new model.
  2. Access the Model Object -- Tells you how to access the Stateflow Model object, which you need to access before you can access a Stateflow Chart object.
  3. 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.
  4. Create New Objects in the Chart -- Gives many example commands for creating new objects in a new Stateflow chart.

Previous page  Using API Object Properties and Methods Create a New Model and Chart Next page

© 1994-2005 The MathWorks, Inc.