create as built in functions

3 visualizaciones (últimos 30 días)
Raviteja
Raviteja el 5 de Oct. de 2011
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?

Respuesta aceptada

John D'Errico
John D'Errico el 5 de Oct. de 2011
These functions will be your new friends:
addpath, savepath, pathtool, rmpath

Más respuestas (1)

Wayne King
Wayne King el 5 de Oct. de 2011
You can use pathtool, to add the folder where those functions are and save that path for future sessions.

Categorías

Más información sobre Search Path en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by