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

1 visualización (últimos 30 días)
Alok Virkar
Alok Virkar el 1 de Dic. de 2022
Comentada: Alok Virkar el 1 de Dic. de 2022
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?

Respuesta aceptada

C B
C B el 1 de Dic. de 2022
  1 comentario
Alok Virkar
Alok Virkar el 1 de Dic. de 2022
I havnt, just discovered it myself and came here to post it.
Thank you!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Enumerations en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by