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

3 visualizaciones (últimos 30 días)
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

Chetan Bhavsar
Chetan Bhavsar 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 Construct and Work with Object Arrays 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