Is it possible to define the coverage (DC or MC / DC) with my own cells (which I developed)
5 views (last 30 days)
Show older comments
Hi, I has my own Simulink library, and when I run a coverage analysis, some blocks of my library are ignored. Is it possible to defined my own coverage rule (DC or MC/DC) for these blocks?
0 Comments
Answers (1)
Akshat Dalal
on 17 Mar 2025
Hi Fabien,
I am not sure if this is possible in older releases but newer releases definietly have a way for this. You can create test harness for your models which utilize the library blocks. These harnesses can then be used to get Coverage for your model and the library blocks should not be ideally ignored in this. This is captured in the following documentation: https://www.mathworks.com/help/sltest/ug/test-library-blocks.html
If this also does not work, you should be able to author custom MC/DC objectives using the 'Enhanced MCDC' workflow provided via Simulink Design Verifier. This is captured in the following documentation: https://www.mathworks.com/help/sldv/ug/author-custom-test-objective-workflow-1.html
0 Comments
Communities
More Answers in the Power Electronics Control
See Also
Categories
Find more on Collect Coverage for Models in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!