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

4 views (last 30 days)
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

Aaditya Kalsi
Aaditya Kalsi on 24 Aug 2015
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
Hsiang-Sheng Wang
Hsiang-Sheng Wang on 24 Aug 2015
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)

Kamarul Zaman AR
Kamarul Zaman AR on 16 Nov 2016
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

Find more on App Building in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!