Add more function as default

5 Ansichten (letzte 30 Tage)
Liaofan Lin
Liaofan Lin am 18 Nov. 2011
From Matlab central file exchange website, I sometimes get some functions which don't exist in current MATLAB function archive. I wonder if there is an easy way to add those new function .m files into the default function pool?
For example, I use "dlmread" without link to some where else. However, if I have a function from the file exchange center, I need to save the .m file somewhere and link to it in order to use it.
Thanks, Liaofan

Akzeptierte Antwort

Daniel Shub
Daniel Shub am 18 Nov. 2011
You can add the paths to the directories with the downloaded files. You can do this in a number of ways. The easiest might be File >> Set Path
  1 Kommentar
Jan
Jan am 18 Nov. 2011
@Daniel: It might be helpful to mention, that you mean the the menu in Matlab's command window.
Another method is the command "pathtool".
I've created a folder called "FromFEX" and added it permanently to the path by:
addpath('D:\MyFiles\FromFEX', '-end'); savepath
One problem remains: There is a license file for each submission, and all have the same name.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Downloads finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by