Set the storage type and size for enumerations created with active state output.
Category: Optimization
Default:
'Native Integer'
'Native Integer'
Default target integer type
int32
32 bit signed integer type
int16
16 bit signed integer type
int8
8 bit signed integer type
uint16
16 bit unsigned integer type
uint8
8 bit unsigned integer type
The default 'Native Integer'
is recommended for
most models.
If you need a smaller memory footprint for the generated enumerations, set the storage type to a smaller size. The size must be large enough to hold the number of states in the chart.
This parameter requires a Simulink® Coder™ license.
Parameter:
ActiveStateOutputEnumStorageType |
Value:
'Native Integer' | 'int32' |
'int16' | 'int8' |
'uint16' | 'uint8' |
Default:
'Native Integer' |