Create structures to bundle data and access Simulink® bus signals in your Stateflow® charts, truth tables, and MATLAB® function blocks. Define custom structures in C code for integration into your Stateflow chart.
Define Stateflow structures for input, output, and local access to bus signals.
This example shows how to access and modify the contents of a Stateflow® structure.
This example shows how to use MATLAB® structures in a Stateflow® chart.
Define the data that a chart stores internally in its own workspace.
Specify data by its location in the chart hierarchy.