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

조회 수: 3 (최근 30일)
Alok Virkar
Alok Virkar 2022년 12월 1일
댓글: Alok Virkar 2022년 12월 1일
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?

채택된 답변

Chetan Bhavsar
Chetan Bhavsar 2022년 12월 1일
  댓글 수: 1
Alok Virkar
Alok Virkar 2022년 12월 1일
I havnt, just discovered it myself and came here to post it.
Thank you!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Enumerations에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by