Documentation

Operations on Enumerated Data

Simulink® software prevents enumerated values from being used as numeric values in mathematical computation.

The code generation software supports the following enumerated data operations:

  • Assignment (=)

  • Relational operations (==, ~=, <, >, <=, >=, )

  • Cast

  • Indexing

Related Examples

More About

Was this topic helpful?