These files can be read in python using for instance the pytables or h5py package.
Version 7 3 mat file.
March 7 2005 support for memory mapped files.
By default all save operations create version 7 mat files.
There are third opensource implementations of v7 3 mat file available so porting this to octave shouldn t require redo this from scratch.
The only exception to this is when you create new mat files using the matfile function.
By default all save operations create version 7 mat files.
In this case the default mat file version is 7 3.
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.
In this case the default mat file version is 7 3.
Reading matlab structures in mat files does not seem supported at this point.
Up through version 7 mat files individual variables are limited to 2gb in size.
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.
The only exception to this is when you create new mat files using the matfile function.
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.
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.
Version when creating a mat file set this field to0x0100.
Version 7 3 removes this restriction allowing variables to be arbitrarily large.
To identify or change the default mat file version access the mat files preferences.
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.
The save variables to version 7 3 mat file example on that page shows the exact syntax.
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.