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.

 채택된 답변

Aaditya Kalsi
Aaditya Kalsi 2015년 8월 24일
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

Hi, I am having a problem with the "no public field" as well, it worked in 2014a but not in 2015a: http://www.mathworks.com/matlabcentral/answers/235869-no-public-field-variable-exists-for-class-matlab-ui-container-toolbar-pushtool-error
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.

댓글을 달려면 로그인하십시오.

추가 답변 (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?

카테고리

도움말 센터File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by