Why does model advisor check for 'non-default block attributes' flag blocks incorrectly in Simulink R2023b?
16 views (last 30 days)
Show older comments
MathWorks Support Team
on 11 Mar 2025
Answered: MathWorks Support Team
on 11 Mar 2025
In Simulink R2023b, I am running a model advisor check for 'non-default block attributes' (mathworks.maab.db_0140) for the F14 example model. After running it, I receive 31 warnings. When the same check is run on Simulink R2023a for the same model, I receive only 5 warnings. As an experiment, I added a simple gain block to the model directly from the library browser in Simulink R2023b. This gain block also gets flagged for non-default block attributes even though I did not change any values/parameters.
Why has this behavior changed?
Accepted Answer
MathWorks Support Team
on 11 Mar 2025
The 'Flag only if Default Values are changed' setting is disabled by default in Simulink R2023b and hence the blocks without any block annotations will be flagged. To get rid of the additional warnings, you would need to enable the 'Flag only if Default Values are changed' setting in the model configuration editor and load the saved configuration into model advisor.
The steps for this are outlined in this documentation page.
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!