MATLAB Answers

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

61 views (last 30 days)
yonatan s
yonatan s on 23 Jan 2019
Commented: 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.

Answers (3)

Greg Heath
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

Greg Heath
Greg Heath on 31 Jan 2019
>> doc readData
It is giving you all of the available documentation
Please don't forget to formally accept my answer
(;>)
yonatan s
yonatan s on 3 Feb 2019
I know what the documentary is, what I'm saying is that it does not solves my problem.

Sign in to comment.



zmi zmi
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

yonatan s
yonatan s on 24 Feb 2019
thank you for the answer, but this happens on other function as well, like 'which' for example

Sign in to comment.

Categories

Community Treasure Hunt

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

Start Hunting!

Translated by