issues with "set path"
9 次查看(过去 30 天)
显示 更早的评论
I'm running OSX 10.7.5 and using Matlab 2011A (Student Version) and have recently encountered a small problem. When I update my path file (file >> setpath >> add some new directory and then save changes), any changes I made are gone the next time I open the Matlab application. Interestingly, the directories and subdirectories I had added to my path months ago are still there.
Any thoughts on why this might be happening? Fixes?
Thanks in advance.
0 个评论
回答(1 个)
Image Analyst
2013-7-28
Try calling savepath() after you call setpath().
2 个评论
Image Analyst
2013-7-28
Editing your startup.m file to set the path each time would be more preferred I believe.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 File Operations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!