MATLAB: Problem with Fitnet function

fitnetMATLAB

whenever I run fitnet function (net=fitnet(10)), I obtain an error : Not enough input arguments. I have Matlab 2018 educational version with all toolboxes installed.

Best Answer

Based on my understanding while executing command >>net = fitnet(10) an error occured. I tried that command in MATLAB R2018b and it is working for me.
Can you specify in which MATLAB version you are executing the command? And also share the screenshot of the error.
Hope it helps.