Documentation

Where to Use Enumerated Data

You can use enumerated data at these levels of the Stateflow® hierarchy:

  • Chart

  • Subchart

  • State

You can use enumerated data as arguments for:

  • State actions

  • Condition and transition actions

  • Vector and matrix indexing

  • MATLAB® functions

  • Graphical functions

  • Simulink® functions

  • Truth Table blocks and truth table functions

You can use enumerated data for simulation and Simulink Coder™ code generation.

More About

Was this topic helpful?