Add more function as default

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일

1 개 추천

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개)

카테고리

도움말 센터File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by