Problem with using college privileges desktop to set path for toolbox

1 view (last 30 days)
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.

Answers (1)

Jan
Jan on 7 Dec 2011
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 Comments
ws
ws on 16 Dec 2011
I have tried what you told me, but still can't works.
It's ok, I have solved my problem.
Jan
Jan on 16 Dec 2011
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.

Sign in to comment.

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!