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 or an array of Stateflow structures.
This example shows how to read from and write to Simulink® bus signals in a MATLAB® function by using MATLAB and Stateflow® structures.
Define the data that a chart stores internally in its own workspace.
Specify data by its location in the chart hierarchy.
Composite Signals (Simulink)