Reading matlab structures in mat files does not seem supported at this point.
Matlab mat file version 7 3.
Convert existing mat files to version 7 3 by calling the save function with the v7 3 option such as.
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.
The save variables to version 7 3 mat file example on that page shows the exact syntax.
Creates a mat file that supports partial loading and saving.
In this case the default mat file version is 7 3.
To view or set the default version for mat files go to the home tab and in the environment section click preferences.
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.
Matlab 7 2 r2006a 15 1 5 0 2006 march 1 2006 matlab 7 3 r2006b 16 1 5 0 september 1 2006 hdf5 based mat file support matlab 7 4 r2007a 17 1 5 0 07 2007 march 1 2007 new bsxfun function to apply element by element binary operation with singleton expansion enabled.
In this case the default mat file version is 7 3.
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.
To identify or change the default mat file version access the mat files preferences.
Your matlab is r2010a which should be later than v7 3.
To identify or change the default mat file version access the mat files preferences.
Use the matfile function to access matlab variables directly from mat files on disk without loading the full variables into memory.
These files can be read in python using for instance the pytables or h5py package.
For cell arrays structure arrays or other containers that can store heterogeneous data types version 7 3 mat files are sometimes larger than version 7 mat files.
However by default the save function creates version 7 mat files.
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.