Add more function as default
7 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
采纳的回答
Daniel Shub
2011-11-18
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 个评论
Jan
2011-11-18
@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.
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!