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

조회 수: 5 (최근 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 Community

카테고리

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