By default all save operations create version 7 mat files.
Save mat file version 7 3.
I am trying to save a large workspace as a mat for later use.
Then append a third variable without compression to the same file.
The save variables to version 7 3 mat file example on that page shows the exact syntax.
Open the documentation for the save function using doc save.
When you create a new file using matfile the function creates a version 7 3 mat file that also lets you save variables larger than 2 gb.
The only exception to this is when you create new mat files using the matfile function.
To identify or change the default mat file version access the mat files preferences.
In this case the default mat file version is 7 3.
In order to save your data to a mat file with version 7 3 or later specify the v7 3 flag as the version input argument.
In this case the default mat file version is 7 3.
The only exception to this is when you create new mat files using the matfile function.
Save two variables to a mat file.
That is why the warnning message sounds strange.
By default all save operations create version 7 mat files.
Use the matfile function to access matlab variables directly from mat files on disk without loading the full variables into memory.
It complaints that you try to save to a mat file older than 7 3.
By default the save function compresses variables a and b before saving them to myfile mat.
How to save v7 3 format variable quickly in few.
For example this code.
Use the matfile function to create files in version 7 3 format.
Your matlab is r2010a which should be later than v7 3.
Learn more about v7 3 save variable 2gb.
While saving as version 7 3 works i cannot load or import the new mat file into r2017a.
To identify or change the default mat file version access the mat files preferences.