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.

 Respuesta aceptada

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 comentarios

KFrenkie
KFrenkie el 24 de Ag. de 2015
Editada: KFrenkie el 24 de Ag. de 2015
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.

Iniciar sesión para comentar.

Más respuestas (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?

Categorías

Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by