%% Display Enumeration Member Names from Object
% Display the enumeration member names for the matlab.lang.OnOffSwitchState class using an enumeration member object.

e = matlab.lang.OnOffSwitchState.off;
enumeration(e)

%
% Copyright 2012 The MathWorks, Inc.