MATLAB: Help me to overcome the error (net=fitne​t(hiddenla​yersize)) in nftool training

doublefitnet

Error in ==> trial at 10 net=fitnet(hiddenLayerSize);
??? Undefined function or method 'fitnet' for input arguments of type 'double'.

Best Answer

It is part of the (current) Neural Network toolbox. You need to install and license that. Or if you are using an older version you might need to upgrade.