How do I get the names of all the enumerations in a class?
3 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Construct and Work with Object Arrays 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!