MATLAB: How to remove all the paths for Toolboxes in MATLAB

MATLABmatlabpath

I have my own functions I created when I had only MATLAB and no other Toolboxes. Now with other Toolboxes installed, functions with the same names appear in them. Without uninstalling Toolboxes, I want to "undo" the path entries so that remaining paths retain only those to MATLAB and no other Toolboxes.

Best Answer

There is no supported way of undoing the path setting in MATLAB. The safest way to avoid name collisions is to rename all user functions.