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

1 visualizzazione (ultimi 30 giorni)
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!

Risposta accettata

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

Più risposte (0)

Prodotti


Release

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by