Control the behavior of a Stateflow® chart and communicate with other charts, Simulink® blocks, and the MATLAB® workspace by using data. Through the Symbols pane, add new data and eliminate undefined or unused data. In the Property Inspector, control data properties such as scope, type, and size.
Define the data that a chart stores internally in its own workspace.
Specify data properties by using the Property Inspector or the Model Explorer.
Add, delete, and trace nongraphical objects.
Detect and add undefined data, events, and messages.
Define data to share with Simulink models and the MATLAB base workspace.
Define parameters to share constant data with Simulink models and the MATLAB base workspace.
Create Stateflow data objects that represent Simulink global data.
Choose saturation or wrapping behavior for arithmetic overflows.
Specify data by its location in the chart hierarchy.