Documentation Center

  • Trial Software
  • Product Updates

Operations on Enumerated Data

Simulink® software prevents enumerated values from being used as numeric values in mathematical computation (see Operations on Enumerated Data).

The code generation software supports the following enumerated data operations:

  • Assignment (=)

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

  • Cast

  • Indexing

For more information, see Enumerated Data.

Was this topic helpful?