Declare Variable-Size Data in MATLAB Functions

Declare and use variable-size matrices and arrays with MATLAB® functions in Stateflow® charts the same way as in MATLAB Function blocks in a model. For more information, see:

To learn how to declare variable-size data at the chart level, see Declare Variable-Size Inputs and Outputs.

Was this topic helpful?