

%

%   Copyright 2014-2020 The MathWorks, Inc.

Simulink.defineIntEnumType('InstrumentTypes', ... 
	{'FlowMeter', 'Pyrometer', 'Potentiometer'}, ...
	[0;1;2], ... 
	'Description', 'Instrument Types', ...
	'DefaultValue', 'FlowMeter', ...
	'DataScope', 'Exported', ... 
	'AddClassNameToEnumNames', true, ...
	'StorageType', 'int16');

firstEnumVariable = InstrumentTypes.FlowMeter;

secondEnumVariable = InstrumentTypes.Pyrometer;

thirdEnumVariable = InstrumentTypes.Potentiometer;
