Stateflow    

Defining Stateflow Interfaces


Each Stateflow chart is a block in a Simulink diagram that sits on top of MATLAB. You can share data with MATLAB and Simulink and also determine how and when Simulink executes your charts through Stateflow interfaces with the following sections:
Overview Stateflow Interfaces
Each Stateflow block interfaces to its Simulink model. Take an overview look at Stateflow interfaces to Simulink and MATLAB.
Setting the Stateflow Block Update Method

Implementing different Stateflow interfaces in Simulink requires you to set the update method for your chart. This section describes each of the settings for the update method of your chart.

Adding Input or Output Data and Events to Charts

Implementing different Stateflow interfaces in Simulink requires you to add input or output data or events to your chart. This section describes how you add input or output data or events to your chart.

Implementing Interfaces in Stateflow to Simulink
This section summarizes all the settings necessary for implementing any possible interface in Simulink to your Stateflow chart block.
MATLAB Workspace Interfaces
The MATLAB workspace is an area of memory normally accessible from the MATLAB command line. This section describes ways that Stateflow can access the data and functions of the MATLAB workspace.
Interface to External Sources
Describes the ways in which a Stateflow chart can interface data and events outside its Simulink model.


  Special Symbols Overview Stateflow Interfaces