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
John Michell
PhD Expert
Answered Sep 12, 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.
100% Run Guarantee
3-Hour Fast-Track Delivery
Need a Custom Version or Complete Simulation for This Problem?
Our 500+ PhD engineers build, debug, and optimize working MATLAB scripts and Simulink (.slx) models tailored to your exact assignment rubrics with zero plagiarism.
Tested on MATLAB R2024b / R2026a
Turnitin 0% Plagiarism Report
Free 7-Day Revisions Guarantee
Have a different question? Ask here
Related neural network tool Questions & Solutions
Browse All →
Explore similar technical troubleshooting questions and verified MATLAB solutions:
Ready-to-Run MATLAB & Simulink Projects
Browse All Projects →