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.
Version 7 3 mat file.
If when read from the mat file as a 16 bit value the characters appear in reversed order im rather than mi it indicates that the program reading the mat file must.
Your matlab is r2010a which should be later than v7 3.
The save variables to version 7 3 mat file example on that page shows the exact syntax.
To identify or change the default mat file version access the mat files preferences.
The only exception to this is when you create new mat files using the matfile function.
Also given that the v7 3 mat file is matlab s default and the only one option in matlab that can cope with variables larger than 2gb which is not that much nowadays we some octave users feel that it would be nice if developers could prioritize this.
In this case the default mat file version is 7 3.
Reading matlab structures in mat files does not seem supported at this point.
Endian indicator contains the two characters m and i written to the mat file in this order as a 16 bit value.
The only exception to this is when you create new mat files using the matfile function.
In this case the default mat file version is 7 3.
By default all save operations create version 7 mat files.
Beginning at release 7 3 of matlab mat files are actually saved using the hdf5 format by default except if you use the vx flag at save time see help save in matlab.
By default all save operations create version 7 mat files.
To identify or change the default mat file version access the mat files preferences.
Up through version 7 mat files individual variables are limited to 2gb in size.
These files can be read in python using for instance the pytables or h5py package.
Version when creating a mat file set this field to0x0100.
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.
Matlab s matfile objects enable users to access and change variables stored in version 7 3 mat files without loading the entire variable into memory.
There are third opensource implementations of v7 3 mat file available so porting this to octave shouldn t require redo this from scratch.