create as built in functions

조회 수: 1 (최근 30일)
Raviteja
Raviteja 2011년 10월 5일
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?

채택된 답변

John D'Errico
John D'Errico 2011년 10월 5일
These functions will be your new friends:
addpath, savepath, pathtool, rmpath

추가 답변 (1개)

Wayne King
Wayne King 2011년 10월 5일
You can use pathtool, to add the folder where those functions are and save that path for future sessions.

카테고리

Help CenterFile Exchange에서 Search Path에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by