Stateflow User's Guide Previous page   Next Page

Defining Interfaces to Simulink and MATLAB


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 of Stateflow Interfaces
Each Stateflow block interfaces to its Simulink model. Take an overview look at Stateflow interfaces to Simulink and MATLAB.
Specifying Chart Properties
Tells you how to specify properties for your chart. Part of the interface for a chart to its Simulink model is set when you specify the properties for a chart.
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.

Implementing Simulink Update Interfaces
This section summarizes all the settings necessary for implementing any possible interface in Simulink to your Stateflow chart block.
Creating Chart Libraries
Shows you how to save Stateflow charts that you can place in the Simulink block library for repeated use in a Simulink model.
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.


Previous page  Autoscaling of Stateflow Fixed-Point Overview of Stateflow Interfaces Next page

© 1994-2005 The MathWorks, Inc.