Define complex data in a chart as follows:
In the Stateflow® Editor, select one of the following options:
Chart > Add Inputs & Outputs > Data Input From Simulink
Chart > Add Inputs & Outputs > Data Output To Simulink
Chart > Add Other Elements > Local Data
A default definition of the new data object appears in the Stateflow hierarchy, and the Data properties dialog box appears.
Complex data does not support the scope
In the Complexity field of the
Data properties dialog box, select
Specify the name, size, base type, and other properties for the new data object as described in Set Data Properties.
Complex data does not support the base types
boolean. See Built-In Data Types for more information.