Main Content

.NET Enumerations in MATLAB

Create and combine .NET enumerations in MATLAB®

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

Enumerations contain members, methods, and underlying values. Terms you should know:

  • Enumeration — In MATLAB, a class having a finite set of named instances. In the following topics, the term enumeration refers to a .NET enumeration.

  • Enumeration member — Named instance of an enumeration class.

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

Note

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

Functions

bitnot.NET enumeration object bit-wise NOT instance method

Topics

Troubleshooting

Limitations to Support of .NET Enumerations

.NET features not supported in MATLAB.