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

5 visualizaciones (últimos 30 días)
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?

Respuestas (1)

Akshat Dalal
Akshat Dalal el 17 de Mzo. de 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

Comunidades de usuarios

Más respuestas en  Power Electronics Control

Categorías

Más información sobre Collect Coverage for Models en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by