27 lines
579 B
Matlab
27 lines
579 B
Matlab
classdef EmMod < Simulink.IntEnumType
|
|
|
|
enumeration
|
|
Initiation(0)
|
|
Standby(1)
|
|
TorqueControl(2)
|
|
PreCharge(3)
|
|
PowerDown(4)
|
|
Fault(5)
|
|
end
|
|
|
|
methods (Static)
|
|
function retVal = getDescription()
|
|
retVal = 'EmMod';
|
|
end
|
|
function retVal = getDefaultValue()
|
|
retVal = EmMod.Initiation;
|
|
end
|
|
function retVal = getDataScope()
|
|
retVal = 'Exported';
|
|
end
|
|
function retVal = addClassNameToEnumNames()
|
|
retVal = true;
|
|
end
|
|
end
|
|
end
|