Skip to Main Content Skip to Search
Product Documentation

About Simulink Enumerations

Simulink enumerations are built on enumerations defined for the MATLAB language. They are subclasses of the abstract superclass Simulink.IntEnumType, and inherit from that superclass the capabilities necessary to be used in the Simulink environment.

Before you begin to use enumerations in a modeling context, you should understand information provided in Enumerations.

The following demos show you how to use enumerations in Simulink and Stateflow:

Demo...Shows How To Use...
Data Typing in SimulinkData types in Simulink, including enumerated data types
Modeling a CD Player/Radio Using Enumerated Data TypesEnumerated data types in a Simulink model that contains a Stateflow chart

For information on using enumerations in Stateflow, see Using Enumerated Data in Stateflow Charts.

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS