MATLAB Answers

0

Different Coverage for after(1, sec) and after(1, msec). My misunderstanding or just a bug?

Seungkyu Park さんによって質問されました 2017 年 3 月 27 日
最新アクティビティ Arunkumar M さんによって 編集されました 2018 年 11 月 9 日
Hi,
Simple model is made up for coverage calculation.
State_A <--after(1, sec) --> State_B
In above, the transition is bidirectional. the decision coverage is 100%, and it makes sense since after(1, sec) is evaluated true/false according to time.
if 'sec' is changed to 'msec', then it produces 50% coverage, and the report message is
"Transition "after(1, msec)" from "A" to "B"
after(1, msec) was never false."
Why is that?
Thanks.

  0 件のコメント

サインイン to comment.

タグ

製品

1 件の回答

回答者: Arunkumar M 2018 年 11 月 9 日
編集済み: Arunkumar M 2018 年 11 月 9 日

What was your step size used in simulation? This could happen when your step size is higher than 1msec as used in this condition.

  0 件のコメント

サインイン to comment.



Translated by