Package: slcoverage
Select metric criterion for coverage filter
Specify metric selection criteria for a filter rule.
specifies
the model element and the block metrics to create the rule for. Specify whether the type
of selector is a condition or decision outcome. Then select the object and outcome index
combination to specify the metric that you want to write the filter rule for.sel
= slcoverage.MetricSelector(type
,element
,objIndex
,outIndex
)
You can create only a justify rule for a metric selector. You cannot create an exclude rule.
For more information on the condition and decision coverage tables produced in the report, see Top-Level Model Coverage Report.
allSelectors | Selectors for model or code element |
Handle. To learn how handle classes affect copy operations, see Copying Objects (MATLAB).
cv.cvdatagroup
| getSimulinkBlockHandle
| slcoverage.BlockSelector
| slcoverage.Filter
| slcoverage.FilterRule
| slcoverage.SFcnSelector