MATLAB: How to merge code coverage results in Simulink Verification and Validation 2.5 (R2009a)

Simulink CheckSimulink Coverage

I want to be able to combine code coverage results from multiple simulations where part of the model changes between runs. The specific scenario I have is that I have multiple plant models which produce the stimulus to the model under test and I want to be able to combine the coverage results from simulations with these different plant models.
Also, it would be helpful if I could exclude certain subsystems from the coverage metrics, specifically I’d like to be able to exclude the plant models listed above.

Best Answer

This enhancement has been incorporated in Release 2011a (R2011a). For previous product releases, read below for any possible workarounds:
The ability to merge code coverage results is not available in Simulink Verification and Validation 2.5 (R2009a).
For model coverage it might be possible to do something similar by using a custom report (via CVHTML):
web([docroot,'/toolbox/slvnv/ug/f18292.html#f27231'])
web([docroot,'/toolbox/slvnv/ug/f18292.html#f23055'])