フィルターのクリア

Plot of logged simulation data automatically opens Simulation Data Inspector - how to disable?

4 ビュー (過去 30 日間)
Tim
Tim 2021 年 1 月 14 日
回答済み: Tim 2021 年 1 月 14 日
My setup:
out = sim('modelname'); % simulate my model
figure,plot(out.logsout{1}); % plot the first of the logged signals
What happens is:
  • A figure window is opened (because of figure,)
  • Simulation Data Inspector is opened
  • The plot is shown in the Simulation Data Inspector.
How can I disable this?
I know there is the possibility in sdi to 'Take a snapshot' and export the signals to matlab figures, but this is quite annoying to do repeatedly.
Thank you in advance!

採用された回答

Tim
Tim 2021 年 1 月 14 日
Changing the line slightly solved the issue:
figure,plot(out.logsout{1}.Values);

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSources についてさらに検索

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by