
This change allow comments around the enum member definitions in matlab enum definition files. The comments is not transfered to the generated source code. Change-Id: I1770f1cdfc8e9cba83f58417c1d0b03a17ecb1d3
29 lines
676 B
Matlab
29 lines
676 B
Matlab
classdef EnumTest < Simulink.IntEnumType
|
|
|
|
enumeration
|
|
% Test comment 1
|
|
ClimaOff(0)
|
|
ClimaHeatgToHvacAndHvBatt(1) % Test comment 2
|
|
ClimaHeatgToHvBatt(2)
|
|
ClimaHeatgToHvac(3)
|
|
ClimaFlow(4)
|
|
Degas(5)
|
|
FailSafe(6)
|
|
end
|
|
|
|
methods (Static)
|
|
function retVal = getDescription()
|
|
retVal = 'EnumTest';
|
|
end
|
|
function retVal = getDefaultValue()
|
|
retVal = EnumTest.ClimaOff;
|
|
end
|
|
function retVal = getDataScope()
|
|
retVal = 'Exported';
|
|
end
|
|
function retVal = addClassNameToEnumNames()
|
|
retVal = true;
|
|
end
|
|
end
|
|
end
|