Is it possible to define the coverage (DC or MC / DC) with my own cells (which I developed)

4 次查看(过去 30 天)
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?

回答(1 个)

Akshat Dalal
Akshat Dalal 2025-3-17
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

社区

更多回答在  Power Electronics Control

类别

Help CenterFile Exchange 中查找有关 Collect Coverage for Models 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by