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

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', ''

回答(3 个)

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

3 个评论

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.

请先登录,再进行评论。

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

1 个评论

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

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Language Support 的更多信息

提问:

2019-1-23

评论:

2019-2-24

Community Treasure Hunt

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

Start Hunting!

Translated by