In my work I often need to switch between two "environments" which correspond to different MATLAB path settings. The path setups are mutually exclusive because the same function may be present in both environments. For example the directory structure is:
/release_folder /myFunc.m/development_folder /myfunc.m
How can I switch between these environments quickly, easily, and without creating issues related to 'restoredefaultpath' ?
Best Answer