Cumulative coverage for different test cases

4 views (last 30 days)
Hello Community,
is it possible to get the cumulative coverage in simulink if i change the test case which contains different source blocks ?
The test case is configurable subsystem(linked to library model)
Consider the below senario
test case 1: step block
test case 2: ramp block
V.Ajay Krishna

Sign in to comment.

Accepted Answer

Pat Canny
Pat Canny on 26 Jun 2020
(To officially answer this)
For cumulative coverage workflows, you can create a test harness for the system under test using slvnvmakeharness, which would allow you to change the test source while preserving the coverage collected on the system under test for cumulative coverage. Simulink Coverage will instrument and measure coverage on the system under test, which is effectively a model reference within the test harness.

More Answers (0)




Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!