function definition, where to save them?

1 Ansicht (letzte 30 Tage)
K
K am 31 Jan. 2012
Hi, can anyone help me where should I save the functions I create in order to use them in my command window?

Akzeptierte Antwort

Wayne King
Wayne King am 31 Jan. 2012
You can save them in any folder. Then you have to add that folder to the MATLAB path. Use pathtool, or addpath
For example, assume you save them in c:\mfiles
>>addpath 'c:\mfiles'
pathtool brings up a GUI to do the same thing.
  1 Kommentar
K
K am 31 Jan. 2012
I'll try that, thankx so for the fast response!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by