Saving outputs displayed in the command window

I urgently need some help. I had a GUI to collect all data and to save it when I clicked a button. It displays a graph with all the data it collects. Unfortunately after collecting data for over 2 hours, it stopped. The data was 'precious'.
I don't know of any way to recover the data, but all of it was displayed in the command window. Is there a way I can retrieve all the data from the command window? Does MATLAB have a cache with all the values which I can access?
Thanks in advance

3 commentaires

dpb
dpb le 6 Août 2015
Modifié(e) : dpb le 6 Août 2015
Ctrl-A/Ctrl-C then paste Ctrl-V in the editor will save everything that's visible.
Probably need to create a parallel automagic saving operation that periodically closes the open file and then appends new to avoid the possible catastrophic loss going forward...
diary only toggles the state of saving; it doesn't do anything with that already gone by and displayed. BTW, note that you use the up-arrow key to recall all lines, irregardless of how many are visible owing to the buffer number of lines preference setting.
Mathews John
Mathews John le 6 Août 2015
Ya I will definitely to have to add that in :|

Réponses (0)

Cette question est clôturée.

Produits

Clôturé :

le 6 Août 2015

Community Treasure Hunt

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

Start Hunting!

Translated by