Why does model advisor check for 'non-default block attributes' flag blocks incorrectly in Simulink R2023b?
10 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
MathWorks Support Team
am 11 Mär. 2025
Beantwortet: MathWorks Support Team
am 11 Mär. 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?
Akzeptierte Antwort
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.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!