フィルターのクリア

Problem with using college privileges desktop to set path for toolbox

2 ビュー (過去 30 日間)
ws
ws 2011 年 12 月 7 日
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 件のコメント
Sean de Wolski
Sean de Wolski 2011 年 12 月 15 日
Are you licensed to use the bioinfo toolbox?

サインインしてコメントする。

回答 (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 Center および File ExchangeSearch Path についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by