Reference to non-existent field 'net_read_only'

Jimmy_yan · Jul 15, 2021 · 2K views
Question
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.
Expert Answer
Profile picture of John Michell
John Michell PhD Expert
Answered Aug 13, 2026

 

Do you have an older version of the NNTOOLBOX which does not contain PATTERNNET?
 
 
 lookfor patternnet

 help patternnet

 doc patternnet

If so, use NEWPR.

Have a different question? Ask here

Get a Free Consultation or a Sample Assignment Review!