Creating your own MATLAB functions

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

Réponses (1)

Walter Roberson
Walter Roberson le 25 Mai 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.

Catégories

En savoir plus sur Startup and Shutdown dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by