Suddenly neural network toolbox doesn't work anymore
8 views (last 30 days)
Show older comments
Hello!
I worked with the neural network toolbox until yesterday when suddenly I got a error message:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/164436/image.png)
At first I thougt that somehow the data I feed into the neural network got corrupted. But after checking this I could rule it out as I cause. To make sure it is not the data I tried the sample data that comes with MATLAB and I get the same error message with the sample data.
If I try to call patternnet(10) in the command window I get the following error message:
>> net=patternnet(10)
Default value is not a member of type "nntype.performance_fcn".
Error using nnetParamInfo (line 28)
Reference to non-existent field 'net_read_only'.
Error in patternnet>get_info (line 85)
info = nnfcnNetwork(mfilename,'Pattern Recognition Neural Network',fcnversion, ...
Error in patternnet (line 41)
if isempty(INFO), INFO = get_info; end
I have R2013b 64-bit. Does anybody have an idea what could be the reason that suddenly the neural network toolbox doesn't work anymore? I would very much appreciate your help.
0 Comments
Answers (2)
Tunan
on 4 Jul 2014
I have the same problem. All of a sudden, Matlab NN toolbox doesn't work any more. It was fine in May.
When I was trying the nprtool and using the sample data, it doesn't work.
Anybody know what's happening? There is no source code since we are using the GUI.
7 Comments
MOHD FUAD ABDUL LATIP
on 7 Nov 2022
I have this error but dont know how to fix it
Reference to non-existent field 'net_read_only'.
Error in network/subsasgn>network_subsasgn (line 39)
if ~isempty(nnstring.first_match(field,FIELD_NAMES.net_read_only))
Error in network/subsasgn (line 11)
net = network_subsasgn(net,subscripts,v,netname);
Error in network>setnet (line 178)
net = subsasgn(net,subscripts,value);
Error in network>new_network (line 168)
net = setnet(net,'numInputs',numInputs);
Error in network (line 71)
net = new_network(varargin{:});
Error in feedforwardnet>create_network (line 101)
net = network;
Error in feedforwardnet (line 69)
net = create_network(param);
Error in nntype.performance_fcn>type_check (line 141)
net = feedforwardnet;
See Also
Categories
Find more on Parallel and Cloud in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!