Problem with using college privileges desktop to set path for toolbox
Show older comments
Hi all, I have problem with using college privileges desktop
- I have a matlab code that need "bioinfo toolbox" to work with, so I do the steps below:
- Cope bioinfo toolbox into C:\Program Files\MATLAB\R2009b\toolbox
- Open Matlab, go to set path, add path with subfolder.
- After click save it appear error:
- 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?
- So I click yes and save the pathdef.m in my codes folder, e.g. D:/mycode#
- [what to do with this step?]
I'm new to matlab, kindly explain in detail and show me the full steps. Thank you.
1 Comment
Sean de Wolski
on 15 Dec 2011
Are you licensed to use the bioinfo toolbox?
Answers (1)
Jan
on 7 Dec 2011
0 votes
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
on 10 Dec 2011
Jan
on 15 Dec 2011
@ws: I've explained this already. Start Matlab and get the path of the current folder by typing "cd". Use this folder to store your personal pathdef.m file. Clear enough?
ws
on 16 Dec 2011
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.
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!