Save Mat File Version 7 3
Save two variables to a mat file.
Save mat file version 7 3. Use the matfile function to create files in version 7 3 format. If you look at the help of save v7 3 means version 7 0 features plus support for data items greater than or equal to 2gb on 64 bit systems which should be in your advantage. To identify or change the default mat file version access the mat files preferences. By default all save operations create version 7 mat files.
The save variables to version 7 3 mat file example on that page shows the exact syntax. Partial loading and saving requires version 7 3 mat files any load or save operation that uses a matfile object associated with a version 7 or earlier mat file temporarily loads the entire variable into memory. Your matlab is r2010a which should be later than v7 3. For example this code.
By default all save operations create version 7 mat files. 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. That is why the warnning message sounds strange.
Create two variables a and b and save them to a mat file version 7 or 7 3. Then append a third variable without compression to the same file. How to save v7 3 format variable quickly in few. Use the matfile function to access matlab variables directly from mat files on disk without loading the full variables into memory.
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. While saving as version 7 3 works i cannot load or import the new mat file into r2017a. 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.
To identify or change the default mat file version access the mat files preferences. Open the documentation for the save function using doc save. Learn more about v7 3 save variable 2gb. By default the save function compresses variables a and b before saving them to myfile mat.