How can I remove all the paths for Toolboxes in MATLAB?
Show older comments
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.
Accepted Answer
More Answers (1)
Kenneth Eaton
on 20 Jan 2011
6 votes
It sounds like you want to have MATLAB use your functions instead of functions with the same name in other toolboxes. The easiest way to do this is simply to change the order of folders on your path. If you move your folders higher on the path than the toolbox folders, then functions in those folders will have precedence and be called instead of functions by the same name in a toolbox. This will allow you to still use other functions in the toolboxes, which you wouldn't easily be able to do if you removed that toolbox from the path altogether.
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!