How do I get the names of all the enumerations in a class?

1 view (last 30 days)
classdef WeekDays
enumeration
Monday, Tuesday, Wednesday, Thursday, Friday
end
end
if I have a class WeekDays, how do I display all of the enumerations in the command window?

Accepted Answer

C B
C B on 1 Dec 2022

More Answers (0)

Categories

Find more on Enumerations in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!