Customize display of an enumeration class
I'd like to customize the display of an enumeration class using matlab.mixin.CustomDisplay . If I have a regular (non-enumeration) class such as the following: classdef test < handle & matlab.mixin.CustomDisplay properties value end methods function obj = test(value) obj.value = value; end end methods (Access = protected) function displayScalarObject(obj) disp(['hello ', num2str(obj.value)]) end end end then everything works fine - for example, >> a = test(1) a = hello 1 But if I have an enumeration class such as the following (note the addition of the enumeration block): classdef test <