Problem saving a file
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I
I tried saving a file, got this error message
{Warning: Variable 'Res' cannot be saved to a MAT-file whose version is older than 7.3. To save this variable, use the -v7.3 switch. Skipping...}
( by using save function: save('a.mat','Res','-mat')
What does it mean?
Thanks,
Shani
1 comentario
Roberto Herrera
el 24 de Oct. de 2012
Hi Shani, I am dealing with the same problem saving a large 4-D matrix (>10GB) using -v7.3. It takes ages saving due to the compression in HDF. Reading is not a problem. You can map your file as a mat object (matObj), just read the "matfile" help, it works amazingly fast. Henry
Respuesta aceptada
Walter Roberson
el 21 de Sept. de 2012
It means that the variable is either more than 2 gigabytes, or contains a type of object that is not supported in older .mat files.
You should switch to
save('a.mat', 'Res', '-mat', '-v7.3');
3 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Workspace Variables and MAT Files en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!