Path setting for a machine when upgrading MATLAB
Show older comments
I have a number of machines which all need some folders on my path. We frequently set up new users or upgrade versions, and so we need to manually set the path each time we do this. The files needed in these paths include M-Files to use hardware as well as other "custom toolboxes".
Is there any methodology that can automatically set the path after upgrading MATLAB or adding a new user, rather than setting path manually?
Here are several suggestions I have for current situation. I would propose that the matlabrc file (or some other files) run a special startup m-file that it can find in a standard place on that machine. Perhaps the file could be located in "C:\Program Files\MATLAB" on Windows and "/Library/Application Support/MathWorks" on macOS. (Not sure about Linux.) This special startup file could add folders to the path (and maybe other things). Both upgrading MATLAB and adding a new user to the group could be done without having to do anything special.
Accepted Answer
More Answers (0)
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!