.NET Enumerations in MATLAB

MATLAB® allows you to work with .NET enumerations using features of the MATLAB enumeration class and some features unique to the .NET Framework.

Terms you should know:

  • Enumeration — In MATLAB, a class having a finite set of named instances.

  • Enumeration member — Named instance of an enumeration class.

  • Underlying value — Numeric value associated with an enumeration member.

Enumerations contain the following information:

  • Members

  • Methods

  • Underlying Values

In this topic, the term enumeration refers to a .NET enumeration.

    Note:   The MATLAB language supports user-defined enumeration classes. If you are using enumerations defined in MATLAB, refer to the topics under Enumerations.

Was this topic helpful?