25 lines
531 B
Matlab
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
|