Relational boundary coverage relative tolerance
Relational boundary coverage relative tolerance
Model Configuration Pane: Coverage
Description
The Relational boundary coverage relative tolerance specifies the
value of relative tolerance for relational boundary coverage. This parameter applies
only to input signals with a floating-point data
type, such as double
. The relational boundary floating-point
tolerance equation is max(absTol, relTol* max(|lhs|,|rhs|))
. For more
information, see Relational Boundary Coverage.
Relational boundary coverage checks blocks with relational operations, such as the Relational Operator block. The analysis checks that, for each operation, the floating-point operands differ by no more than the value of this parameter.
For example, if you enter 0.01
, the analysis checks operations
where lhs < = rhs
executes with operands that differ by at
most:
0.01 * max(|lhs|,|rhs|)
Dependencies
To enable this parameter, select the Enable coverage analysis and Relational boundary parameters.
Settings
1e-5
(default) | floating-point value in the range (0,1)Enter a floating-point value between 0 and 1 for the relational boundary absolute tolerance.
Programmatic Use
Parameter: CovBoundaryRelTol |
Type: single |
double |
Default: 0.01 |
Version History
Introduced in R2014a