Not suppressable warnings in Simulink

2 次查看(过去 30 天)
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

回答(1 个)

Fangjun Jiang
Fangjun Jiang 2023-8-10
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 个评论
Walter Roberson
Walter Roberson 2023-8-10
The variables are saved in a struct.
Create one struct for the tunables and a different struct for the non-tunables.
Christian
Christian 2023-8-10
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.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Sources 的更多信息

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by