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

3 ビュー (過去 30 日間)
fabien
fabien 2015 年 11 月 26 日
回答済み: Akshat Dalal 2025 年 3 月 17 日
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

コミュニティ

カテゴリ

Help Center および File ExchangeCollect Coverage for Models についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by