How to get Matlab to remember a path permanently?
52 次查看(过去 30 天)
显示 更早的评论
Simple task, add a folder with subfolders to the Matlab path permanently. This has been bugging me for sometime. Every day or so I have to re-add my folder with all my code in it as Matlab has forgotten it from the path. Is there anyway to add this folder permanently and never have Matlab forget it?
Thanks Matheu
采纳的回答
Image Analyst
2018-8-14
Click on the Set Path button on the Home tab of the tool ribbon. Click on the save button after you browse to the path.
Otherwise, put this into your startup.m file
addpath('c:\whatever');
savepath;
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Search Path 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!