How can I display enumeration value in MATLAB object
Given the following two classes classdef EnumClass enumeration enumVal1 enumVal2 end end classdef EnumDisplay properties enumValue = EnumClass.enumVal1 numberValue = 1 end end When displaying an EnumClass , the value is displayed: >> E = EnumClass.enumVal1 E = enumVal1 but when displaying EnumDisplay in the command window, the enumeration value is suppressed, and only the array size and class are displayed. >> C = EnumDisplay() C = EnumDisplay with properties: enumValue: [1x1 EnumClass] numberValue: 1 What is the easiest way to have the enumeration value displayed in the class property list. I