From: Chris on 30 Jun 2010 08:10 When I'm setting a path in MatLab and try to save my changes so I don't have to set it everytime I get the error message: | MATLAB cannot save changes to the path. The path file, pathdef.m, might be read-only or might be in a directory for which you do not have write access. You can save pathdef.m to a different location. In order for MATLAB to use that pathdef.m in future sessions, you need to save it in your MATLAB startup directory (the direcotry from which you start MATLAB). Would you like to save pathdef.m to another location? | So I click yes and save in in the start up directory and it just sends me the same message again. Thanks for the help
From: Wayne King on 30 Jun 2010 08:34 "Chris " <chris.veinot(a)hotmail.com> wrote in message <i0fc7d$k8e$1(a)fred.mathworks.com>... > When I'm setting a path in MatLab and try to save my changes so I don't have to set it everytime I get the error message: > | > MATLAB cannot save changes to the path. > > The path file, pathdef.m, might be read-only or might be in a directory for which you do not have write access. > > You can save pathdef.m to a different location. In order for MATLAB to use that pathdef.m in future sessions, you need to save it in your MATLAB startup directory (the direcotry from which you start MATLAB). > > Would you like to save pathdef.m to another location? > | > > So I click yes and save in in the start up directory and it just sends me the same message again. > > Thanks for the help Do you have write access to your MATLAB startup directory? What platform are you running MATLAB on? Wayne
From: Jan Simon on 30 Jun 2010 08:36 Dear Chris, > When I'm setting a path in MatLab and try to save my changes so I don't have to set it everytime I get the error message: > MATLAB cannot save changes to the path. > The path file, pathdef.m, might be read-only or might be in a directory for which you do not have write access. You forgot to ask a question. I assume, that you want to get write-privilegs for the folder PATHDEF.M is saved in. If you work on a multi-user system, it is better to use a PATHDEF.M file for each user, therfore Matlab suggests to copy it to a user-related folder. If you mention your Matlab version, OS and your initial workpath, we could give some more advices. Kind regards, Jan
From: Chris on 30 Jun 2010 08:48 "Jan Simon" <matlab.THIS_YEAR(a)nMINUSsimon.de> wrote in message <i0fdnk$rpq$1(a)fred.mathworks.com>... > Dear Chris, > > > When I'm setting a path in MatLab and try to save my changes so I don't have to set it everytime I get the error message: > > MATLAB cannot save changes to the path. > > The path file, pathdef.m, might be read-only or might be in a directory for which you do not have write access. > > You forgot to ask a question. I assume, that you want to get write-privilegs for the folder PATHDEF.M is saved in. If you work on a multi-user system, it is better to use a PATHDEF.M file for each user, therfore Matlab suggests to copy it to a user-related folder. > If you mention your Matlab version, OS and your initial workpath, we could give some more advices. > > Kind regards, Jan Im using windows 7 and have MATLAB R2009b
From: Chris on 30 Jun 2010 08:50 "Jan Simon" <matlab.THIS_YEAR(a)nMINUSsimon.de> wrote in message <i0fdnk$rpq$1(a)fred.mathworks.com>... > Dear Chris, > > > When I'm setting a path in MatLab and try to save my changes so I don't have to set it everytime I get the error message: > > MATLAB cannot save changes to the path. > > The path file, pathdef.m, might be read-only or might be in a directory for which you do not have write access. > > You forgot to ask a question. I assume, that you want to get write-privilegs for the folder PATHDEF.M is saved in. If you work on a multi-user system, it is better to use a PATHDEF.M file for each user, therfore Matlab suggests to copy it to a user-related folder. > If you mention your Matlab version, OS and your initial workpath, we could give some more advices. > > Kind regards, Jan I just tried what you suggested by saving it to a user-related folder and it worked! Thanks for the help
|
Next
|
Last
Pages: 1 2 3 Prev: GUI and external functions + popupmenu value problem Next: 3D Tumor Display |