Remove Code from Tunable Parameter Expressions That Saturate Out-of-Range Values
Description
Specify whether to generate code that saturates the values of tunable parameters expressions.
Category: Optimization
Settings
Default: On
On
Does not generate code that saturates the value of out-of-range tunable parameter expressions to prevent integer overflow. Select this check box if code efficiency is critical to your application.
Off
Generates code that guards against overflow by saturating the value of tunable parameter expressions in between upper and lower limits.
Dependencies
This parameter appears only for ERT-based targets.
This parameter requires a Embedded Coder® license when generating code.
Command-Line Information
Parameter:
EfficientTunableParamExpr |
Value:
'on' | 'off' |
Default:
'on' |
Recommended Settings
Application | Setting |
---|---|
Debugging | Off |
Traceability | Off |
Efficiency | On (execution, ROM) |
Safety precaution | No recommendation |