MATLAB: Do I get the error “Undefined function ‘gcp’ for input arguments of type ‘char'”

charfunctiongcpnetneuralparallelStatistics and Machine Learning Toolboxtrainingundefined

I am getting the following error when trying to train my neural net:
"Undefined function 'gcp' for input arguments of type 'char'."
How do I resolve this error?

Best Answer

This error indicates that you are trying to do training in parallel but do not have the Parallel Computing Toolbox installed. You can either install this toolbox to take advantage of this feature or set the 'ExecutionEnvironment' option to 'cpu' in your training options.