Using Stateflow     Search    Help Desk 

Defining Data

A state machine can store and retrieve data that resides internally in its own workspace. It can also access data that resides externally in the Simulink model or application that embeds the state machine. When creating a Stateflow model, you must define any internal or external data referenced by the state machine's actions.

To define an item of data:

   1.
Add the item to the data dictionary (see "Adding Data to the Data Dictionary").
   2.
Set the new item's properties (see "Setting Data Properties")


[ Previous | Help Desk | Next ]