Clear Filters
Clear Filters

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

4 views (last 30 days)
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

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

More Answers (0)

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!