| Using Stateflow | Search  Help Desk |
Overview
Interfaces to Stateflow
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 block interface includes:Typical Tasks to Define Stateflow Interfaces
Defining the interface for a Stateflow block can involve some or all of these tasks:Where to Find More Information on Events and Data
See these sections for conceptual information on data and events: "Defining Events" and "Defining Data". These references in particular are relevant to defining the interface: