Hi everyone~
I had problem saving a large variable (It's a cell. I think the problem is it's very large)
The message is this:
Warning: Variable 'results_all' cannot be saved to a MAT-file whose version is older than 7.3. To save this variable, use the -v7.3 switch.
I couldn't find out how to use the -v7.3 feature. Could somebody help? Thanks a lot~

1 comentario

Cedric
Cedric el 30 de Sept. de 2013
Editada: Cedric el 30 de Sept. de 2013
save('myFile.mat', '-v7.3') ;

Iniciar sesión para comentar.

 Respuesta aceptada

Shashank Prasanna
Shashank Prasanna el 30 de Sept. de 2013

4 votos

If the file is larger than 2GB then you will have to use 7.3. You can choose the version 7.3 option in the MATLAB preferences. The following article has information about the different formats:

2 comentarios

Yuji Zhang
Yuji Zhang el 2 de Oct. de 2013
Thanks a lot Shashank~~
Benoit Espinola
Benoit Espinola el 19 de Mzo. de 2020
Lacks examples for save(file, variables, version)

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Environment and Settings en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 30 de Sept. de 2013

Comentada:

el 19 de Mzo. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by