User`s guide
20 Excluding Model Objects From Coverage
20-2
Coverage Filtering
In this section...
“What Is Coverage Filtering?” on page 20-2
“When to Use Coverage Filtering” on page 20-2
What Is Coverage Filtering?
Coverage filtering is excluding model objects from model coverage when you simulate
your Simulink model. You specify which objects you want to be excluded from coverage
recording.
After you specify the objects to exclude, when you simulate your model, Simulink
Verification and Validation software does not record coverage for filtered objects in your
model.
When to Use Coverage Filtering
You use coverage filtering to facilitate a bottom-up approach to recording model coverage.
If you have a large model, there may be design elements that intentionally do not record
100% coverage. You might also have several design elements that do not record 100%
coverage that must record 100% coverage. You can temporarily or permanently eliminate
these elements from coverage recording to focus on a subset of objects for testing and
modification.
This approach allows you to iterate more efficiently—focus on a small problem, fix it, and
then move on to resolve the next small problem. Before recording coverage for the entire
model, you can resolve missing coverage problems with individual parts of the model.