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

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!

 Accepted Answer

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

More Answers (0)

Categories

Find more on View and Analyze Simulation Results in Help Center and File Exchange

Products

Release

R2020a

Asked:

Tim
on 14 Jan 2021

Answered:

Tim
on 14 Jan 2021

Community Treasure Hunt

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

Start Hunting!