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 by Using the Results Explorer
Access, manage, and accumulate coverage results from the Results Explorer after you record coverage.
View Coverage Results in a Model
Highlight model elements to view coverage results.
Simulink Coverage can create one or more model coverage reports after a simulation.
Top-Level Model Coverage Report
Learn about the sections of a model coverage report the software creates for the top-level model.
Retrieve Coverage Details from Results
Retrieve specific coverage information after simulation using MATLAB® commands.
View Coverage Results for Custom C/C++ Code in S-Function Blocks
View coverage results for the C/C++ code in S-Function blocks in your model.
Trace Coverage Results to Requirements by Using Simulink Test and Simulink Requirements
View requirements traceability in Simulink Coverage reports using Simulink Test™.
Assess Coverage Results from Requirements-Based Tests
Assess extent to which requirements-based tests exercise the corresponding design.
Trace Coverage Results to Associated Test Cases
View system test coverage achieved from unit tests in the Aggregated Tests section of the coverage report.
Export Model Coverage Web View
Export a Model Coverage Web View.
Creating and Using Coverage Filters
This example shows how to use Simulink® Coverage™ model coverage filters to exclude model items from coverage results and justify missing coverage in reports.
Create, Edit, and View Coverage Filter Rules
Workflow to filter model objects from the coverage recording.
Applied filters section of the coverage Results Explorer
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.
Coverage Filter Rules and Files
Manage coverage filter rules attached to your model.
Model Objects to Filter from Coverage
Types of model objects you can filter from coverage recording.