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

2 visualizzazioni (ultimi 30 giorni)
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?

Risposta accettata

C B
C B il 1 Dic 2022
have you tried this?
enumeration WeekDays

Più risposte (0)

Categorie

Scopri di più su Enumerations in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by