Not suppressable warnings in Simulink

2 visualizzazioni (ultimi 30 giorni)
Christian
Christian il 10 Ago 2023
Commentato: Christian il 10 Ago 2023
Hi,
I have the following issue:
"The message identifier Simulink:Engine:NonTunableVarChangedInFastRestart cannot be suppressed."
Why is it not possible and when will it be fixed?
Is there a workaround?
I just don't want to see those messages. There is more important information to be displayed.
BR
Christian

Risposte (1)

Fangjun Jiang
Fangjun Jiang il 10 Ago 2023
Between fast restart simulations, you have some variables that have changed their values. But these variables are non-tunable. That is why the warning messages popped up.
Your options:
  1. Ignore the messages because you know they don't matter to you.
  2. Make sure the values for those variables are not changed. The change won't have effect anyway, because those variables are non-tunable. The value for those variables are built into the fast restart optimization. Maybe the change was made by mistake?
  3. Set those variables to be tunable. Then the change of value will impact the simulation result.
  3 Commenti
Walter Roberson
Walter Roberson il 10 Ago 2023
The variables are saved in a struct.
Create one struct for the tunables and a different struct for the non-tunables.
Christian
Christian il 10 Ago 2023
Thank you for this idea. Unfortunately I have to consider it as my last option. There are a total of 560 parameters that are implemented by different developers. It would be a tedious task to sort them by tunable and non tunable.

Accedi per commentare.

Prodotti


Release

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by