Neural Network issue Unable to Create Network

2 views (last 30 days)
Error
Unable to Create Network Error :<a href="matlab:opentoline('C
  3 Comments
Yosief
Yosief on 21 Jun 2014
Edited: Yosief on 21 Jun 2014
When the Breast Cancer import from Load Example data Set
Error:<a href="matlab:opentoline('C
Default value is not a member of type "nntype.performance_fcn". Warning: Control Character '\U' is not valid. See 'doc sprintf' for control characters valid in the format string. > In throw at 38 In nnetParamInfo>nnetParamInfo.nnetParamInfo at 28 In patternnet>get_info at 85 In patternnet at 41 In nprtool>createNetwork at 159 In nprtool at 71
Greg Heath
Greg Heath on 25 Jun 2014
I don't think you will get much help unless you post the relevant code with corresponding comments and error messages.

Sign in to comment.

Answers (2)

Tunan
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.
  3 Comments
Tunan
Tunan on 8 Jul 2014
No, it is not a trial. I've used it on our dept lab's computer, and it doesn't update recently, so I don't think it's from release issues.
But I download some toolboxes online. Some of them seems have conflicting functions with Matlab default function names. There is warning when Matlab starts, but it's only warning so I didn't pay too much attention on it.
Any suggestions?
Amanjit Dulai
Amanjit Dulai on 16 Jan 2015
Edited: Amanjit Dulai on 28 Jan 2015
The cause of this problem may be a name conflict due to files having the same name on the MATLAB path.
The error seems to be thrown by a function called by "nntype.performance_fcn". You can get more information on where the error is thrown from by setting a breakpoint in this file. To do this, type the following MATLAB command to open this file:
edit nntype.performance_fcn
When the file opens, set a breakpoint on line 31 by clicking in the left hand column of the editor window. If you then run "patternnet", you should hit this breakpoint. At this point, you can run the next function in "performance_fcn.m" manually by typing the following command:
err = type_check(in2);
You should then get more detailed information on the error.

Sign in to comment.


Juliana  Corlier-Bagdasaryan
I had the same problem (Default value is not a member of type "nntype.performance_fcn".) when running neural networks pattern recognition via GUI. I have resolved the problem by addressing the conflict warnings showing up when opening matlab. Type which + the name of the conflicting function and it will probably show you a path to a toolbox that you have downloaded. However, instead it should be a buil-in matlab function.

Categories

Find more on Sequence and Numeric Feature Data Workflows in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!