Not suppressable warnings in Simulink

2 ビュー (過去 30 日間)
Christian
Christian 2023 年 8 月 10 日
コメント済み: Christian 2023 年 8 月 10 日
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 Center および File ExchangeSources についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by