This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.


Fixed set of names representing a single type of value

Use enumerations to represent a fixed set of named values, where all the values are of the same kind. You can derive enumeration classes from other classes, such as built-in numeric types. The enumeration members then inherit arithmetic and ordering operations of the superclass.


enumeration Display class enumeration members and names
isenum Determine if variable is enumeration


meta.EnumeratedValue Describe enumeration member of MATLAB class
Was this topic helpful?