Starting with mat file version 4 there are several subsequent versions of mat files that support an increasing set of features.
Mat file version 7 3 or later.
Matlab 7 1 r14sp3 1 5 0 september 1 2005 first 64 bit version available for windows xp 64 bit 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.
For data saved using mat file versions prior to 7 3 simulink can only load two dimensional arrays consisting of one dimensional double noncomplex samples.
Starting with mat file version 4 there are several subsequent versions of mat files that support an increasing set of features.
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 save variables to version 7 3 mat file example on that page shows the exact syntax.
Matlab releases r2006b and later all support all mat file versions.
March 7 2005 support for memory mapped files.
Matlab releases r2006b and later all support all mat file versions.
Your matlab is r2010a which should be later than v7 3.
As i had matlab 2019b i thought i would have the latest and greatest mat file version if i type the following ont he command line.
To load data of any other type complexity or dimension use a timeseries object and save the file using mat file version 7 3 or later.
Use the matfile function to access matlab variables directly from mat files on disk without loading the full variables into memory.
By default all save operations create 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.