matlab cannot save my figure
Mostrar comentarios más antiguos
Dear all,
I am having a problem with Matlab and I don't know how to solve it, I tried to search for the error and I couldn't find any solution, can you help me please ?
I am getting the following message when I try to save a huge image 5003 x 49597, using Pcolor, and it is not saving my image.
matlab warning: Variable 'hgS_070000' cannot be saved to a MAT-file whose version is older than 7.3. To save this variable, use the -v7.3 switch. Skipping... > In hgsave at 268 In general\private\saveasfig at 7 In saveas at 126 In loading_whole_summer2009 at 24 (this is the function name I have created)
I am using a desktop with a 16GB of RAM and 1TB of hard disk, and I am running only Matlab. Is there a way to optimize the memory or can you explain to me what does it mean the 'use the -v7.3 switch.'
thanking you in advance,
Respuesta aceptada
Más respuestas (3)
Fangjun Jiang
el 23 de Ag. de 2011
0 votos
type 'help save' or 'doc save' for options of save() command. '-v7.3' is to allow support for data items greater than or equal to 2GB.
1 comentario
LE FOU
el 23 de Ag. de 2011
LE FOU
el 23 de Ag. de 2011
1 comentario
Fangjun Jiang
el 23 de Ag. de 2011
No. It looks like you want to save the image to a .fig file. It shouldn't cause memory problem. You could clear all the variable before saveas(). Are you sure you have the right file name? You could also try print() command.
Categorías
Más información sobre Printing and Saving en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!