MATLAB Answers

Model Coverage - Decision computation not done for masked subsystems

1 ビュー (過去 30 日間)
Philippe
Philippe 2012 年 3 月 14 日
回答済み: shradha bhat 2018 年 5 月 14 日
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

  0 件のコメント

サインイン to comment.

回答 (2 件)

Philippe
Philippe 2012 年 3 月 15 日
I think that the answer to my question is in the use of the good version of Matlab. I am working with Matlab2007b and my company will upgrade to Matlab2011b. In the toolbox "Simulink Verification and Validation" of Matlab2011b, there is the possibility to define rules to exclude blocks (files model_name_covfilter.cvf).
This should answer my problem.

  0 件のコメント

サインイン to comment.


shradha bhat
shradha bhat 2018 年 5 月 14 日
you can use the coverage filter to exclude those blocks.

  0 件のコメント

サインイン to comment.

サインイン してこの質問に回答します。


Translated by