Why does model advisor check for 'non-default block attributes' flag blocks incorrectly in Simulink R2023b?

10 Ansichten (letzte 30 Tage)
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?

Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 11 Mär. 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.  

Weitere Antworten (0)

Kategorien

Mehr zu Modeling finden Sie in Help Center und File Exchange

Produkte


Version

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by