Simulink Coverage™ performs model and code coverage analysis that measures testing completeness in models and generated code. It applies industry-standard metrics such as decision, condition, modified condition/decision coverage (MCDC), and relational boundary coverage to assess the effectiveness of simulation testing in models, software-in-the-loop (SIL), and processor-in-the-loop (PIL). You can use missing coverage data to find gaps in testing, missing requirements, or unintended functionality.
Simulink Coverage produces interactive reports showing how much of your model, C /C++ S-functions, MATLAB® functions, and code generated by Embedded Coder® has been exercised. You can highlight coverage results in blocks and subsystems to visualize gaps in testing. To assess testing completeness, you can accumulate coverage data from multiple test runs, as well as view coverage achieved through unit and system tests. Coverage outcomes can be traced to requirements and tests. You can apply filters to exclude blocks from coverage and justify missing coverage in reports.
Support for industry standards is available through DO Qualification Kit and IEC Certification Kit.
Measure how much of your design is covered by simulation testing to assess testing effectiveness and completeness. Analyze coverage collected during requirements-based testing to determine if there are any gaps in testing, missing requirements, or unintended functionality.
Measure coverage for software-in-the-loop (SIL) and processor-in-the-loop (PIL) tests of code generated with Embedded Coder or for code called within Simulink® models.
Manage Aggregated Coverage Results
Aggregate coverage from multiple simulations. View system test coverage achieved from unit tests.
Measure model and code coverage for a variety of metrics, including decision, condition, MCDC, relational boundary, and signal range.
Reconcile Missing Coverage
Filter model constructs that prevent full test coverage, such as defensive modeling patterns, to focus on testing other parts of your design.
Generate Coverage Reports
Generate detailed reports that include accumulated coverage results on selected metrics. View requirements traceability details for model elements and tests.
Are You a Student?
Your school may already provide access to MATLAB, Simulink, and add-on products through a campus-wide license.