Creating your own MATLAB functions

1 view (last 30 days)
Chitran Ghosal
Chitran Ghosal on 25 May 2015
Commented: Chitran Ghosal on 25 May 2015
Hello, I am new to MATLAB and this forum and I want to ask whether I can create my own functions and store them in my MATLAB library so that I can call them in my projects when necessary? If yes, please guide me through the procedure of doing so, (for example which folder etc. etc.). I am using version R2012a

Answers (1)

Walter Roberson
Walter Roberson on 25 May 2015
Yes. Just create convenient directories for them that are not under the MATLAB installation directories, and use
pathtool
to add the directories to your MATLAB path.

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!