Stateflow User's Guide Previous page   Next Page

Overview of Stateflow Interfaces

Each Stateflow block interfaces to its Simulink model. Take an overview look at Stateflow interfaces to Simulink and MATLAB with the following topics:

Stateflow Interfaces

Each Stateflow block interfaces to its Simulink model. Each Stateflow block can interface to sources external to the Simulink model (data, events, custom code). Events and data are the Stateflow objects that define the interface from the Stateflow block's point of view.

Events can be local to the Stateflow block or can be propagated to and from Simulink and sources external to Simulink. Data can be local to the Stateflow block or can be shared with and passed to the Simulink model and to sources external to the Simulink model.

The Stateflow interfaces includes the following:

Typical Tasks to Define Stateflow Interfaces

Defining the interface for a Stateflow block in a Simulink model involves some or all the tasks described in the following topics:

The precediing task list could be a typical sequence. You might find that another sequence better complements your model development.

See Implementing Simulink Update Interfaces for examples of implemented interfaces to Simulink.

Where to Find More Information on Events and Data

The following references are relevant to defining the interface for a Stateflow Chart block in Simulink:


Previous page  Defining Interfaces to Simulink and MATLAB Specifying Chart Properties Next page

© 1994-2005 The MathWorks, Inc.