Remove Code from Tunable Parameter Expressions That Saturate Out-of-Range Values
Control generation of protective code that saturates out-of-range tunable parameter expression values
Model Configuration Pane: Code Generation / Optimization
Description
The Remove Code from Tunable Parameter Expressions That Saturate Out-of-Range Values parameter specifies to remove code that saturates the values of tunable parameters expressions.
Settings
on
(default) | off
- 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.
Recommended Settings
Application | Setting |
---|---|
Debugging | Off |
Traceability | Off |
Efficiency | On (execution, ROM) |
Safety precaution | No recommendation |
Programmatic Use
Parameter: EfficientTunableParamExpr |
Type: character vector |
Value: 'on' | 'off' |
Default: 'on' |
Version History
Introduced in R2019b