MATLAB Answers

1

An error occurred while trying to determine whether "readData" is a function name.

Asked by yonatan s on 23 Jan 2019
Latest activity Commented on by yonatan s on 24 Feb 2019
I've recently downloaded matlab2018 and I'm expriencing a reoccuring problem:
I tried to run the matlab example:
openExample('nnet/TrainABasicConvolutionalNeuralNetworkForClassificationExample')
I got an errror:
Error using trainNetwork (line 150)
An error occurred while trying to determine whether "readData" is a function name.
the same happened when I tried to execute:
openExample('deeplearning_shared/ClassifyTextDataUsingDeepLearningExample')
I got an error:
Error using readtable (line 216)
An error occurred while trying to determine whether "readData" is a function name.
Note: readtable detected the following parameters:
'Delimiter', ',', 'HeaderLines', , 'ReadVariableNames', true, 'Format', ''

  0 Comments

Sign in to comment.

3 Answers

Answer by Greg Heath
on 31 Jan 2019

>> help readData
readData not found
>> doc readData
SUCCESS !!!
Hope this helps
THANK YOU FOR FORMALLY ACCEPTING MY ANSWER
Greg

  3 Comments

I don't understand how this doc is helping me.
>> doc readData
It is giving you all of the available documentation
Please don't forget to formally accept my answer
(;>)
I know what the documentary is, what I'm saying is that it does not solves my problem.

Sign in to comment.



Answer by zmi zmi
on 18 Feb 2019

I had similar issue
renaming /usr/local/MATLAB/R2018a/examples/dsp/readData.slx to something else and restarting matlab helped me.

  1 Comment

thank you for the answer, but this happens on other function as well, like 'which' for example

Sign in to comment.