Add more function as default

8 views (last 30 days)
Liaofan Lin
Liaofan Lin on 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

Accepted Answer

Daniel Shub
Daniel Shub on 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 Comment
Jan
Jan on 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.

Sign in to comment.

More Answers (0)

Categories

Find more on Downloads in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!