MATLAB: A error:No public field ReadSize exists for class matlab.io.​datastore.​TabularTex​tDatastore​.

datastore

Recently, I tried the example below the website.
When I executed the function'saveSensorDataAsMATFiles',
There is a error showing :No public field ReadSize exists for class matlab.io.datastore.TabularTextDatastore.
And the error is in the 32 line of function 'saveSensorDataAsMATFiles'
Whats method can solve it?
thanks.

Best Answer

Hello Hsiang-Sheng,
Just a quick question. Are you using MATLAB R2014b? If so, the ReadSize property was added in R2015a and it is called RowsPerRead in R2014b.