Stateflow | ![]() ![]() |
Adding Output Data to Simulink
The following steps describe how to add and define the necessary fields for a data output to Simulink:
Specify the remaining properties for the data. Data output to Stateflow can be a scalar, or it can be a vector or two-dimensional matrix array of fixed size. It is not possible to change the array size at run-time. See Defining Data Arrays
If you choose to add data in the Stateflow Explorer, you can also change some of its properties directly in the Explorer (see Setting Properties for Data, Events, and Targets).
Note
If you want the output port corresponding to this output data item to emit data of type other than double , you must select the chart's strong data typing option. See Defining Input Data and Specifying Chart Properties for more information.
|
Click Apply to save the properties. Click OK to save the properties and close the dialog box.
![]() | Adding Input Data from Simulink | Implementing Interfaces in Stateflow to Simulink | ![]() |