Coverage filter for model or code

2 ビュー (過去 30 日間)
zhiwu fu
zhiwu fu 2018 年 5 月 15 日
回答済み: Bill Aldrich 2018 年 6 月 20 日
we know that Simulink Coverage has a "filter" feature, there are many article and example to show how create filter for model, but not mentioned creating filter for code. I have the following questions: 1. the filter for model is different from the filter for code? 2. could the created filter for model be used for auto generated code? 3. I designed a Simulink model, and run the unit test case for the model under PIL model, got the coverage report, then how could I exclude some functions which linked to blocks from the coverage report?

回答 (1 件)

Bill Aldrich
Bill Aldrich 2018 年 6 月 20 日
Unfortunately, as of R2018a, it is not currently possible to filter parts of the generated code from coverage analysis. We plan to address this in a future release.

カテゴリ

Help Center および File ExchangeAddress Missing Coverage についてさらに検索

製品


リリース

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by