-v7.3 switch

7 vues (au cours des 30 derniers jours)
Yuji Zhang
Yuji Zhang le 30 Sep 2013
Commenté : Benoit Espinola le 19 Mar 2020
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 commentaire
Cedric
Cedric le 30 Sep 2013
Modifié(e) : Cedric le 30 Sep 2013
save('myFile.mat', '-v7.3') ;

Connectez-vous pour commenter.

Réponse acceptée

Shashank Prasanna
Shashank Prasanna le 30 Sep 2013
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 commentaires
Yuji Zhang
Yuji Zhang le 2 Oct 2013
Thanks a lot Shashank~~
Benoit Espinola
Benoit Espinola le 19 Mar 2020
Lacks examples for save(file, variables, version)

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Environment and Settings dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by