Filtering model objects and code expressions from design error detection or test generation analysis allows you to focus on a subset of objects for Simulink® Design Verifier™ analysis. Use filters when you have model objects that take a long time to analyze or when you want to focus on specific objectives for code-based analysis.
You can add a coverage filter file by opening the Configuration Parameters window, clicking Design Verifier and, under Advanced parameters, selecting Ignore objectives based on filter. Enter your coverage filter file in the Filter file parameter. For more information about coverage filter files, see Creating and Using Coverage Filters (Simulink Coverage). You can also filter the Design Verifier objectives for code-based analysis to align code-based results to model-based results.
After you perform design error detection or test generation analysis, you can justify the falsified objectives by using the Analysis Filter viewer. When you edit the coverage filter by using Analysis Filter viewer, you can update the Simulink Design Verifier report and highlight the analysis results on the model without reanalyzing the model. For detailed example on how to filter objectives, see Exclude and Justify Objectives for Design Error Detection.
After analyzing your model, you can use Analysis Filter viewer to justify the falsified objectives and update the coverage filter file.
You can open the Analysis Filter viewer from the Results Summary window or from the Results Inspector window.
In the Results Summary window, click Open filter viewer.
In the Results Inspector window,
To see a justified objective, click View.
To justify objective that results in error, click Justify.
In the Analysis Filter viewer, you can:
Review and manage the filter rules for analysis.
Load or save analysis filter files in your model.
Navigate to the model to create additional filter rules.
Add rationale description about why the objective or model object or code expression is excluded or justified.
Navigate to a model object associated with a rule.
This step is valid only for model objective analysis.
Delete a rule.
Save the current rules to a file.
Load an existing coverage filter file.
Highlight the model and update the current analysis report with the current filtering rules.
Simulink Design Verifier does not support filtering objectives associated with property proving analysis.