create as built in functions
2 次查看(过去 30 天)
显示 更早的评论
I have bunch of functions related to my applications and all are .m files. I don't want to copy each function in current working folder when I need those. I want to keep them in Matlab such that, I can access to those functions forever. i.e., I want to make my functions as like default functions within Matlab. How to do this?
0 个评论
采纳的回答
John D'Errico
2011-10-5
These functions will be your new friends:
addpath, savepath, pathtool, rmpath
0 个评论
更多回答(1 个)
Wayne King
2011-10-5
You can use pathtool, to add the folder where those functions are and save that path for future sessions.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Search Path 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!