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

11 visualizaciones (últimos 30 días)
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?

Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 11 de Mzo. de 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.  

Más respuestas (0)

Categorías

Más información sobre Modeling en Help Center y File Exchange.

Productos


Versión

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by