Files
powertrain-build/tests/powertrain_build/reference_files/SimulinkEnum.m
olindgre 2ece01e1d7 Make powertrain-build not overlap with pybuild in site-packages
Change-Id: I7b59f3f04f0f787d35db0b9389f295bf1ad24f56
2024-09-17 10:25:04 +02:00

25 lines
531 B
Matlab

classdef SimulinkEnum < Simulink.IntEnumType
enumeration
Zero(0)
One(1)
Two(2)
Three(3)
end
methods (Static)
function retVal = getDescription()
retVal = 'SimulinkEnum';
end
function retVal = getDefaultValue()
retVal = SimulinkEnum.One;
end
function retVal = getDataScope()
retVal = 'Exported';
end
function retVal = addClassNameToEnumNames()
retVal = true;
end
end
end