Azzera filtri
Azzera filtri

problem when saving some large variables of the workspace

1 visualizzazione (ultimi 30 giorni)
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

Risposta accettata

Image Analyst
Image Analyst il 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 Commento
Mariem Harmassi
Mariem Harmassi il 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 ?

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Get Started with MATLAB in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by