Measuring Equivalence Class Coverage of Simulink® Models
Version 1.0.0 (180 KB) by
Antara Ain
This workflow demonstrates the user a systematic approach for measuring equivalence class coverage of Simulink models.
This workflow demonstrates the user a systematic approach for measuring equivalence class coverage of Simulink models. The workflow is as follows:
- The user specifies the equivalence classes on the input signals of the design. In this version we support only input signals, but can later be extended for output signals also.
- The user also specifies the testcases against which the coverage should be measured. The supported testcase formats are name of the data files of sldvData or Simulink Test testfile (.mldatx file), structure, testfile, testsuite, or testcase object.
- The coverage report is produced to visualize how the equivalence classes of the signals are covered using those testcases.
This workflow is achieved as follows:
1. The tool auto creates an instrumented harness model using the equivalence classes of the signals.
2. For this it inserts test objective blocks on each signal in the harness.
3. The harness is simulated and equivalence coverage is measured as coverage of test objective blocks.
Cite As
Antara Ain (2025). Measuring Equivalence Class Coverage of Simulink® Models (https://www.mathworks.com/matlabcentral/fileexchange/131424-measuring-equivalence-class-coverage-of-simulink-models), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2023b
Compatible with R2023a to R2023b
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
MeasuringEquivalenceClassCoverage_version1
MeasuringEquivalenceClassCoverage_version1/testData
MeasuringEquivalenceClassCoverage_version1
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |
