I was looking for an easy way to remove a bunch of paths from Matlab. I work with a fairly large program and includes many paths in my directory. I also work with svn version processing, and I use many branches, which usually contain the same functions, some of which are modified and some of them exist in only one branch.
The problem is that when I set the path for one branch (using a custom function) and then I want to change the directory to another path, the first part is annoying to delete. I used
rmpath(path1,path2,...);
However, this requires entering each path manually. Since all the paths have a common base directory, I wonder if there are anyway use wild cards to remove the full directory from the path? I am using a windows machine.
source
share