Documentation

Evaluate Coverage Results

Generate coverage reports, view coverage highlighting in model, filter coverage collection results

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.

Topics

Access, Manage, and Accumulate Coverage Results​​

Access, manage, and accumulate coverage results​​ after you record coverage

View Coverage Results in a Model

Highlight model elements to view coverage results.

Retrieve Coverage Details from Results

Retrieve specific coverage information after simulation using MATLAB® commands.

View Coverage Results for C/C++ Code in S-Function Blocks

View coverage results for the C/C++ code in S-Function blocks in your model.

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 recording and justify missing coverage in reports.

Create, Edit, and View Coverage Filter Rules

Workflow to filter model objects from the coverage recording.

Coverage Filter Viewer

Use the Coverage Filter Viewer to manage filter rules for your Simulink model.

Types of Coverage Reports

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 c software creates for the top-level model.

Coverage Filtering

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.

Was this topic helpful?