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

Julia
Julia 2017년 7월 23일
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.

댓글을 달려면 로그인하십시오.

 채택된 답변

Greg Heath
Greg Heath 2016년 3월 7일

0 개 추천

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

카테고리

질문:

2016년 3월 6일

답변:

2017년 7월 23일

Community Treasure Hunt

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

Start Hunting!

Translated by