MATLAB: Problems with Set path

set path

Hi there,
I might mis-chose too many subfolders and then the set path GUI seems to be broken. Below is the error message I got:
Could anyone help me with this? Thanks a lot!
Error using narginchk (line 10)
too many input arguments
Error in usejava (line 43)
narginchk(1,1);
Error in javachk (line 43)
if ~usejava(requiredLevel)
Error in pathtool (line 11)
error(javachk('swing', mfilename));

Best Answer

restoredefaultpath and then you can use pathtool again . Any third-party software that has its own narginchk must go at the end and probably needs to be fixed.
Related Question