Simulink® Coverage™ measures model coverage and code coverage to indicate untested elements of your design, such as logical conditions, unintended functionality, and switch positions during simulation.
Access, manage, and accumulate coverage results from the Results Explorer after you record coverage.
Highlight model elements to view coverage results.
Simulink Coverage can create one or more model coverage reports after a simulation.
Learn about the sections of a model coverage report the software creates for the top-level model.
Retrieve specific coverage information after simulation using MATLAB® commands.
View coverage results for the C/C++ code in S-Function blocks in your model.
View requirements traceability in Simulink Coverage reports using Simulink Test™.
Assess extent to which requirements-based tests exercise the corresponding design.
View system test coverage achieved from unit tests in the Aggregated Tests section of the coverage report.
Export a Model Coverage Web View.
This example shows how to use Simulink® Coverage™ model coverage filters to exclude model items from coverage results and justify missing coverage in reports.
Workflow to filter model objects from the coverage recording.
Use the Applied filters section of the coverage Results Explorer to manage filter rules for your Simulink model.
Use coverage filtering before recording model coverage.
Manage coverage filter rules attached to your model.
Types of model objects you can filter from coverage recording.