Using Stateflow     Search    Help Desk 

Defining Output Data

Output data is data that a chart supplies to other blocks via its output ports. To define an item of output data, add a default data item to the data dictionary as a child of the chart that supplies the item. Then, set the new item's Scope property to Output to Simulink. Stateflow adds an output port to the chart for each item that it outputs.


Stateflow blocks can output only scalar or vector data of type Double. You can set an output item's type to any supported Stateflow data type (for example, Integer). However, Stateflow will convert the item to Double on output.



[ Previous | Help Desk | Next ]