Can you retrieve a plot you have cleared?

I ran a simulation for four days, and I wanted to compare it to another simulation, so I just clicked run. I forgot that I started my file with clear all, close all. Is it possible to retrieve the plot from the four day simulation?

1 Comment

I suggest putting a save statement in your code after your code completes if you are running such a long simulation. That way you have all your data stored so you can recall it anytime.
That won’t help you now, but it will help in the future.

Sign in to comment.

Answers (1)

Azzi Abdelmalek
Azzi Abdelmalek on 1 Apr 2014
Edited: Azzi Abdelmalek on 1 Apr 2014
I 'am not sure how the memory is handled, but I think if the other process of your computer use the available memory, you have cleared by the command clear, you will not be able to recover your data

Categories

Asked:

on 1 Apr 2014

Commented:

on 1 Apr 2014

Community Treasure Hunt

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

Start Hunting!