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.
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.
Matlab releases r2006b and later all support all mat file versions.
Your matlab is r2010a which should be later than v7 3.
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.
By default all save operations create version 7 mat files.
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.
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.
Starting with mat file version 4 there are several subsequent versions of mat files that support an increasing set of features.
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.
Save file name v7 3 timeseries.
For variables larger than 2gb use mat file version 7 3 or later.
The save variables to version 7 3 mat file example on that page shows the exact syntax.
Starting with mat file version 4 there are several subsequent versions of mat files that support an increasing set of features.
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.