Neural net default error:

T
team-matlab · Apr 16, 2021 · 1.9K views
Question
I have not used any neural net programs before, and am trying the built-in neural net example called "Simple Clusters" via the Gui App. When I load the example data, and choose the default 10 neurons, I get this error: Default value is not a member of type "nntype.distance_fcn". As far as I know, I have not changed any default settings, the distanceFnc is still the default "linkdist", which exists in my path. Any suggestions would be appreciated. Thanks,
Expert Answer
Profile picture of Kshitij Singh
Kshitij Singh PhD Expert
Answered Aug 28, 2026
  1. Review

 

   a. doc selforgmap
   b. help selforgmap

2.What happens when you cut and paste the help example with each of the following alternatives:

 net = selforgmap;
 net = selforgmap( [8 8]);
 net = selforgmap( [8 8],100,3,'hextop',linkdist' );
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

Get a Free Consultation or a Sample Assignment Review!