Specify whether to generate code that saturates the values of tunable parameters expressions.
Category: Optimization
Default: 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.
Generates code that guards against overflow by saturating the value of tunable parameter expressions in between upper and lower limits.
This parameter appears only for ERT-based targets.
This parameter requires a Embedded Coder® license when generating code.
Parameter:
EfficientTunableParamExpr |
Value:
'on' | 'off' |
Default:
'on' |
Application | Setting |
---|---|
Debugging | Off |
Traceability | Off |
Efficiency | On (execution, ROM) |
Safety precaution | No recommendation |