problem when saving some large variables of the workspace

2 views (last 30 days)
hello i tried to save some large variables manually but it doesn t work the result is a shortcut , i also tried this command save('pqfile.mat','mat','-v7.3') when i tried to open the file i get a message error signalizing that the file is propbably corrupted . Please help me i am using matlab 2012 a under windows 7 64 bit

Accepted Answer

Image Analyst
Image Analyst on 14 Apr 2013
You're saving the entire workspace. Why don't you pass in some variable names (in single quotes) to save only what you really really need. How large are these variables? Hundreds of millions of bytes? Also, you forgot to tell us the exact error message or exact code, so I'm going to refer you to this: http://www.mathworks.com/matlabcentral/answers/6200-tutorial-how-to-ask-a-question-on-answers-and-get-a-fast-answer
  1 Comment
Mariem Harmassi
Mariem Harmassi on 14 Apr 2013
i repeated the operation with passing the variables needed in order to reduce the volume the variable's size is 92.4 Mo (98 877 786 octets) and everything is Ok :), but i still have a question why it doesn t work manually ?

Sign in to comment.

More Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!