Main Content

Enumerated Data

Finite set of name-based values

An enumerated data type contains a finite set of name-based values defined in a MATLAB® class. To enhance the readability of a Stateflow® chart, refer to enumerated values by name. Group related values into separate enumerated data types to avoid defining a long list of constants.