Define Enumerated Data in MATLAB Functions

Define and use enumerated data with MATLAB® functions in Stateflow® charts the same way as in MATLAB Function blocks in a model. For more information, see Code Generation for Enumerations (Simulink).

To learn how to define and use enumerated data in Stateflow charts, see Define Enumerated Data in a Chart.

Was this topic helpful?