Coverage metric settings
Coverage metrics to analyze
Model Configuration Pane: Coverage
Description
The Coverage metric settings parameter specifies which coverage metrics Simulink® Coverage™ analyzes.
Note
Using Coverage metric settings is not recommended. Use the alternatives listed in the table instead.
To specify what coverage metrics to analyze, enter one or more of these letters:
Letter | Task | Alternative |
---|---|---|
d | Collect decision coverage | Use the Structural coverage level parameter |
c | Collect condition coverage | Use the Structural coverage level parameter |
m | Collect MCDC coverage | Use the Structural coverage level parameter |
t | Collect lookup table coverage | Use the Lookup table parameter |
r | Collect signal range coverage | Use the Signal range parameter |
z | Collect signal size coverage | Use the Signal size parameter |
o | Collect coverage for Simulink Design Verifier™ blocks | Use the Objectives and constraints parameter |
i | Collect saturation on integer overflow coverage | Use the Saturation on integer overflow parameter |
b | Collect relational boundary coverage | Use the Relational boundary parameter |
s | Specify that coverage must take into account the order of operands in blocks that perform a logical operation | Use the Treat Simulink logic blocks as short-circuited parameter. |
w | Provide a warning when blocks in the model are not supported for coverage analysis | Use the Warn when unsupported blocks exist in model parameter |
e | Disables display coverage results using model coloring |
Note
|
Dependencies
To enable this parameter, select the Enable coverage analysis parameter.
Settings
dwe
(default) | character vector
| string
Enter a sequence of letters that describe the coverage metrics to analyze. For example, enter
dc
to collect decision and condition coverage.
Programmatic Use
Parameter: CovMetricSettings |
Type: character vector |
string |
Value: Character vector or string where each character denotes a coverage metric. For example, 'dc' specifies decision and condition coverage. |
Default: 'dwe' |
Version History
Introduced before R2006a