Main Content

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:

LetterTaskAlternative
dCollect decision coverageUse the Structural coverage level parameter
cCollect condition coverageUse the Structural coverage level parameter
mCollect MCDC coverageUse the Structural coverage level parameter
tCollect lookup table coverageUse the Lookup table parameter
rCollect signal range coverageUse the Signal range parameter
zCollect signal size coverageUse the Signal size parameter
oCollect coverage for Simulink Design Verifier™ blocksUse the Objectives and constraints parameter
iCollect saturation on integer overflow coverageUse the Saturation on integer overflow parameter
bCollect relational boundary coverageUse the Relational boundary parameter
sSpecify that coverage must take into account the order of operands in blocks that perform a logical operationUse the Treat Simulink logic blocks as short-circuited parameter.
wProvide a warning when blocks in the model are not supported for coverage analysisUse the Warn when unsupported blocks exist in model parameter
eDisables display coverage results using model coloring

Note

CovHighlightResults has been removed. Include e in CovMetricSettings to avoid a warning message.

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