MATLAB: Problem when saving some large variables of the workspace

MATLAB

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

Best Answer

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