Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Only view warnings for one time step if it is similar in all time steps

1 回表示 (過去 30 日間)
Tom
Tom 2022 年 8 月 4 日
閉鎖済み: dpb 2022 年 8 月 4 日
Dear supporters,
I currently tried a NaN/Inf detection in my Simulink Model. For my purpose it is enough to get the position of the wrong input signal. Therefore I activated the NaN/Inf warning in the diagnostics. It almost works fine, the only problem i have now is that it displays roughly 16000 warnings, as my simulation runs through a loop and it detects the Inf/NaN in every single timestep. Is there a way to avoid this, so that it only tells me the warning once and doesn´t show up in the following time steps? I hope you understand my problem and that you can help me. If something is not clear, i can specify it more.
Thanks in advance.

回答 (0 件)

この質問は閉じられています。

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by