Manage Coverage Data
You can use Simulink® Coverage™ to access, manage, and aggregate coverage results. You can also assess testing completeness by aggregating coverage data from multiple test runs.
Store and Retrieve Coverage Results
Query Coverage Results
|Retrieve execution coverage information from
|Retrieve condition coverage information from
|Retrieve decision coverage information from
|Retrieve modified condition/decision coverage information from
|Retrieve coverage information for Simulink
Design Verifier blocks from
|Retrieve cyclomatic complexity coverage information from
|Retrieve saturation on integer overflow coverage from
|Retrieve relational boundary coverage from
|Retrieve signal range coverage
|Retrieve signal size coverage information from
|Retrieve lookup table coverage
Perform Operations on Coverage Results
- Access, Manage, and Aggregate Coverage Results
Access, manage, and aggregate coverage results from the Results Explorer after you collect coverage.
- Cumulative Coverage Data
Collect cumulative coverage from successive simulations.
- Analyze Coverage Data Using A Script
Retrieve specific coverage information after simulation using MATLAB® commands.
- Collect Coverage in Tests (Simulink Test)
Use coverage measurement to assess the extent of your tests.
- Extracting Detailed Information from Coverage Data
This example shows how coverage utility commands can be used to extract information for an individual subsystem, block, or Stateflow® object from cvdata objects.