Set Search Path of Network Folder

9 views (last 30 days)
I am attempting to use the Set Path Dialog in order to add a mapped network drive to my list of workspace search paths. When I attempt this on Windows 7 the path is only valid for the current application instance. Once I restart Matlab the path is no longer saved. I am running as an administrator and I do have permissions to write to the pathdef.m file. This isn't a problem when running Windows XP.
Matlab2010b OS: Windows 7
Thank You, Craig

Accepted Answer

Craig Eidson
Craig Eidson on 14 Feb 2012
If I manually edit the pathdef.m located at
MATLABROOT\toolbox\local
The settings will remain persistent for each application instance. Using "Savepath;" or using the Set Path Dialog still does not work at this time but manually editing the file is an adequate solution for now.
  1 Comment
James
James on 24 Sep 2012
I've the same problem.
thanks for your input. However, my colleague's able to save the path permanently once he set it but I can't. Any ideas?

Sign in to comment.

More Answers (0)

Categories

Find more on Get Started with MATLAB 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!