Specify whether to include operator annotations for Polyspace® in the generated code as comments.
Category: Code Generation > Comments
Default: On
Includes operator annotations in the generated code.
Does not include operator annotations in the generated code.
These annotations help document overflow behavior that is due to the way the code generator implements an operation. These operators cannot be traced to an overflow in the design.
Justify operators that the Polyspace software cannot prove. When this option is enabled, if the code generator uses one of these operators, it adds annotations to the generated code to justify the operators for Polyspace.
The code generator cannot justify operators that result from the design.
This parameter only appears for ERT-based targets.
This parameter requires an Embedded Coder® license when generating code.
Include comments enables this parameter.
Parameter:
OperatorAnnotations |
Type: character vector |
Value:
'on' | 'off' |
Default:
'on'
|
Application | Setting |
---|---|
Debugging | No impact |
Traceability | On |
Efficiency | No impact |
Safety precaution | No recommendation |