-v7.3 switch

6 visualizzazioni (ultimi 30 giorni)
Yuji Zhang
Yuji Zhang il 30 Set 2013
Commentato: Benoit Espinola il 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 Commento
Cedric
Cedric il 30 Set 2013
Modificato: Cedric il 30 Set 2013
save('myFile.mat', '-v7.3') ;

Accedi per commentare.

Risposta accettata

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

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Environment and Settings 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