Cannot add Simulink Model Coverage Filter

2 次查看(过去 30 天)
I am trying to add a Simulink model coverage filter rule, but when I right click on a block I do not see any options for excluding it from coverage (ie. Right Click > Coverage). When I right click I only see Settings and Report.
When I open the Mathworks demo file, slvnvdemo_covfilt, I can see options for excluding blocks from coverage.
Anyone know why I can't create coverage filter rules for my model?

回答(1 个)

chenchen wang
chenchen wang 2019-12-9
you must select "model configuration parameter -> coverage -> enable coverage analysis" first

类别

Help CenterFile Exchange 中查找有关 Collect Coverage for Code 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by