Model Coverage - Decision computation not done for masked subsystems
Mostrar comentarios más antiguos
Hello,
I use the different following functions to compute model coverage: cvtest, cvsim, decisioninfo. In my models I use blocks of a library that has been developped by my company and that I have to use.
The problem is that these blocks of library are made with switch to have particular options: for instance a specific "Divide" block has been created with an option that allows the user to switch the 2 inputs (x and /). This means that there is a switch that is hidden behind the "Divide" block and when I compute model coverage, even with my inputs, I am going through this "Divide" block I have only 50% in decision.
Is there a way to prevent model coverage from looking into masked subsystems? Or to prevent model coverage from looking into some blocks?
Thank you for your help.
Philippe
Respuestas (2)
Philippe
el 15 de Mzo. de 2012
0 votos
shradha bhat
el 14 de Mayo de 2018
0 votos
you can use the coverage filter to exclude those blocks.
Categorías
Más información sobre Simulink Coverage en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!