How to achieve 100% MCDC with 'after' transition in stateflow ?
Show older comments
Hi,
I have a fairly simple model with near 100% MCDC coverage. But I don't understand the meaning of the remaining issue.

Here we can see the actual condition `after(...)` is fully covered, but the condition `msec` is never False. But how is `msec` a condition on its own ? And what does it mean for `msec` to be False ?
This question seemed relevant :
The answer suggests the issue might come from a time step too large. My model uses 10ms steps, and I did get a warning about using `msec` with simulation step larger than 1ms at some point. So I tried to use `sec` instead of `msec`, but it didin't solve it, it just says "sec" is never False now.
There is also this one :
I believe the author had the same issue than me. If I understand the answer correctly, I need to have a test that ends before the timeout occurs. So I tried a 200ms total test with a timeout configured at 500ms. Still the same '"msec" is never False'.
Can anyone help me understanding the meaning of this please ?
edit: fixed second link
Accepted Answer
More Answers (0)
Categories
Find more on Simulink Report Generator in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!