How Charts Implement Variable-Size Data

Stateflow® charts exchange variable-size data with other charts and blocks in their models through MATLAB® functions, Simulink® functions, and MATLAB truth tables.

You pass variable-size data to these functions as chart-level inputs and outputs from state actions and transition logic. However, you must perform all computations with variable-size data inside the functions, not directly in states or transitions.

For more information about the functions that interact with variable-size, chart-level inputs and outputs, see:

Was this topic helpful?