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

1 view (last 30 days)
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.

Answers (1)

Angelo Yeo
Angelo Yeo on 29 Nov 2024
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.

Categories

Find more on Run Model Advisor Checks in Help Center and File Exchange

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!