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.
Restrict data to a finite set of name-based values.
Tasks for defining enumerated data in a Stateflow chart.
Build a chart that uses enumerated values to issue a status keyword.
Guidelines for effective use of enumerated data.