Why do I receive the error message "Training function 'SrchFcn' does not have a legal value" when using the NNTOOL within the Neural Network Toolbox?
This behavior can be reproduced by the following steps:
1) Open the interactive tool by typing "nntool" at the MATLAB Command Prompt.2) Click "New Network", set the "Training Function" field to "TrainCGP", and click "Create".3) Select "network1", click "Train", then click "Train Network".
This will generate the error message "Training function 'SrchFcn' does not have a legal value".
Best Answer