Create a block selector, a filter, and a rule for the
selector. Add rules to the filter. Then, remove a rule from a filter.
Open the model. Specify coverage settings and turn on coverage
recording.
Create two BlockSelector
objects, bl
and bl1
.
Create a filter object, create two rule objects, and add each rule to the
filter object.
Review the rules. Look the first rule in the array.
fi =
1×2 FilterRule array with properties:
Selector
Mode
Rationale
ans =
FilterRule with properties:
Selector: [1×1 slcoverage.BlockSelector]
Mode: Exclude
Rationale: 'Tested elsewhere'
Remove the first rule that you added. Then review the rules to see that
the first rule that you added is removed.
fi =
FilterRule with properties:
Selector: [1×1 slcoverage.BlockSelector]
Mode: Justify
Rationale: 'Value is never greater than 0'