Problem with using college privileges desktop to set path for toolbox

1 次查看(过去 30 天)
Hi all, I have problem with using college privileges desktop
  1. I have a matlab code that need "bioinfo toolbox" to work with, so I do the steps below:
  2. Cope bioinfo toolbox into C:\Program Files\MATLAB\R2009b\toolbox
  3. Open Matlab, go to set path, add path with subfolder.
  4. After click save it appear error:
  5. 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 user the pathdef.m in future sessions, you need to save it in your MATLAB startup directory (the directory from which you start MATLAB). Would you like to save pathdef.m to another location?
  6. So I click yes and save the pathdef.m in my codes folder, e.g. D:/mycode#
  7. [what to do with this step?]
I'm new to matlab, kindly explain in detail and show me the full steps. Thank you.

回答(1 个)

Jan
Jan 2011-12-7
If you search for "pathdef" in this forum, you will find the information, that this file should be saved in the startup folder. See either the command userpath or check the current folder after starting Matlab by cd. If pathdef.m is saved in this folder, it is preferred before ("for", "instead", "to"?) [matlabroot]\toolbox\local\pathdef.m.
  4 个评论
ws
ws 2011-12-16
I have tried what you told me, but still can't works.
It's ok, I have solved my problem.
Jan
Jan 2011-12-16
If you explain, how you have solved the problem and what "still can't work" mean, other users of this forum could learn from it. This is the underlying idea of a public forum.

请先登录,再进行评论。

类别

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