Reference to non-existent field 'net_read_only'

Hi everyone,
I am a beginner using neural network toolbox. I don't know why but my neural network stop working and keep return Reference to non-existent field 'net_read_only.
If I run the network by script it stop after
net = patternnet(hiddenLayerSize);
and return error:
Default value is not a member of type "nntype.performance_fcn".
Would someone kindly help me through this problem.
Thank you

1 Kommentar

Julia
Julia am 23 Jul. 2017
Hello, I am facing similar problem as you. The error is: Reference to non-existent field 'net_read_only'. Error in network/subsasgn>network_subsasgn (line 41) if ~isempty(nnstring.first_match(field,FIELD_NAMES.net_read_only)) Error in network/subsasgn (line 13) ............
Can you help me on solve this problem?Thanks.

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

Greg Heath
Greg Heath am 7 Mär. 2016

0 Stimmen

Do you have an older version of the NNTOOLBOX which does not contain PATTERNNET?
lookfor patternnet
help patternnet
doc patternnet
If so, use NEWPR.
Hope this helps,
Thank you for formally accepting my answer
Greg

Kategorien

Mehr zu Deep Learning Toolbox finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by