Could machine reboot cause loss of Matlab path?

2 次查看(过去 30 天)
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?

采纳的回答

Sean de Wolski
Sean de Wolski 2012-9-12
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 个评论
Sean de Wolski
Sean de Wolski 2012-9-12
No. When you want to make permanent path changes you should. Temporary path changes etc. should be fine.
K E
K E 2012-10-15
For those with similar issues: here is how you can always run Matlab as an administrator.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

标签

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by