Could machine reboot cause loss of Matlab path?

1 view (last 30 days)
I use savepath to save my MATLAB path, which contains many directories. Last night Windows automatically rebooted my computer after installing updates (I have since turned this option off). MATLAB was open at the time of the reboot. In the morning, my path was missing many directories; I had to rebuild my path. Could a system reboot delete directories from my MATLAB path?

Accepted Answer

Sean de Wolski
Sean de Wolski on 12 Sep 2012
It shouldn't. However, if you called savepath() while running MATLAB not as an admin, the path might not save. Make sure to run MATLAB as an admin (right click: run as admin) in order to make sure your path saves.
  5 Comments
Sean de Wolski
Sean de Wolski on 12 Sep 2012
No. When you want to make permanent path changes you should. Temporary path changes etc. should be fine.
K E
K E on 15 Oct 2012
For those with similar issues: here is how you can always run Matlab as an administrator.

Sign in to comment.

More Answers (0)

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!