Add more function as default

1 次查看(过去 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

采纳的回答

Daniel Shub
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
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 个)

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by