-v7.3 switch

72 views (last 30 days)
Yuji Zhang
Yuji Zhang on 30 Sep 2013
Commented: Benoit Espinola on 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 Comment
Cedric Wannaz
Cedric Wannaz on 30 Sep 2013
Edited: Cedric Wannaz on 30 Sep 2013
save('myFile.mat', '-v7.3') ;

Sign in to comment.

Accepted Answer

Shashank Prasanna
Shashank Prasanna on 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 Comments
Benoit Espinola
Benoit Espinola on 19 Mar 2020
Lacks examples for save(file, variables, version)

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!