Is there a way to exclude certain checks by selecting blocks or states in the model advisor?

7 次查看(过去 30 天)
Hello.
I have a question while using Simulink and model advisor.
When performing a specific check (ex. mathworks.jmaab.jc_0531) in the model advisor, is it possible to exclude only the desired blocks?
For example, Just like when you want to exclude a code in Polyspace, you mark it with a comment.

回答(1 个)

Angelo Yeo
Angelo Yeo 2024-11-29
Right click the block that you want to exclude. And go to "Model Advisor > Exclude blocks only > Select checks ...".
Find the check that you want to exclude the block from, and save the Model Advisor Exclusion Editor.
Below shows before and after exclusion.

类别

Help CenterFile Exchange 中查找有关 Check Model Compliance 的更多信息

标签

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by