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

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.

 Accepted 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.

2 Comments

Hello Aaditya,
Thanks for you quick response to me,
You are right. I was using R2014b.
But I just change the ReadSize property to RowsPerRead, appearing same problem.
That seems to update matlab of type to R2015a 0...0
Thanks you again.

Sign in to comment.

More Answers (1)

What is the solution then for MATLAB 2014b? I read from this link the code was introduce in 2014b https://www.mathworks.com/help/matlab/ref/keyvaluedatastore-object.html?searchHighlight=ReadSize
Is it the same thing?

Categories

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!