m — Enumeration memberscolumn vector

s — Enumeration member namescell array

More About

Behavior Description

Behavior of the enumeration function.

An enumeration class that derives from a built-in class can specify more
than one name for a given enumeration member.

When you call the enumeration function with no output
arguments, MATLAB displays only the first name for each enumeration member (as
specified in the class definition). To see all available enumeration members
and their names, use the two output arguments. For example, [m,s] =
enumeration(obj);.