Why does "Record coverage for system under test" alters the test results in "Simulink Test Manager" in MATLAB R2024b?
Show older comments
For my model shown below, I have two test cases in my Test Suite. Both the test cases are identical except,
Test Case 1 has "Record coverage for system under test" option turned OFF under "Coverage Settings".
Test Case 2 has "Record coverage for system under test" option turned ON under "Coverage Settings".
When the tests are run,
Test Case 1 passes
Test Case 2 fails and the following error is observed in the report:
Division by zero in 'example/Divide'
Here's an example model, "example.slx":
Test harness:
Accepted Answer
More Answers (0)
Categories
Find more on Simulink Design Verifier 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!