Use bitsets to reduce the amount of memory required to store Boolean data.
Category: Optimization
Default: Off
Stores Boolean data in bitsets. Potentially reduces the amount of memory required to store the data. Potentially requires more instructions to access the data, which can result in less optimal code.
Stores Boolean data in unsigned bytes. Potentially increases the amount of memory required to store the data. Potentially requires fewer instructions to access the data, which can result in more optimal code.
Select this check box for Stateflow® charts that reference Boolean data infrequently.
Clear this check box for Stateflow charts that reference Boolean data frequently.
This parameter requires a Simulink® Coder™ license.
Parameter:
DataBitsets |
Value:
'on' | 'off' |
Default:
'off' |
Application | Setting |
---|---|
Debugging | Off |
Traceability | Off |
Efficiency | Off (execution, ROM), On (RAM) |
Safety precaution | No impact |