MATLAB Answers

Problem Saving Workspace - No Error Message

12 views (last 30 days)
kellie
kellie on 17 Dec 2012
Edited: Walter Roberson on 3 Mar 2016
Hi,
I have done some work which leaves me with several cell structures that I would like to save. I had hoped to save the workspace, but when I try to do this there is a problem - I go about saving the file like normal; however, it never saves. There is no error message so I am at a loss for what to do.
Thank you, -Kellie

Answers (4)

Matt Fig
Matt Fig on 17 Dec 2012
Edited: Matt Fig on 17 Dec 2012
Of course, it would be immenseley helpful, and might actually allow a solution to be put forward, if you describe in detail what is meant by "like normal" when you save your wok. A few lines of code should suffice...

Walter Roberson
Walter Roberson on 17 Dec 2012
Are you getting past 2 gigabytes? If you are, then you need to use the -v7.3 flag when you save.

kellie
kellie on 17 Dec 2012
@Matt
Sorry. 'Like Normal' is just me either:
(1) typing save(FileName)
(2) File->Save Workspace As
@Walter
How can I tell if I'm past 2 gigabytes? In the simplest case, I am just saving a single array of doubles, so I am doubtful it is that big.
Thank you both.

capraro12
capraro12 on 2 Mar 2016
Edited: Walter Roberson on 3 Mar 2016
I have encountered a similar scenario:
'File->Save Workspace' and 'Ctrl+S' strategies repeatedly failed to yield a saved file (attempting for a 20 MB workspace), despite the anticipated sequence of events occurring smoothly for these actions without an error message.
In my case, however, typing save(FileName) did work.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by