how to run function from the same folder?

I have a script and I want to run a function which is in the same folder, but I don't want to add the whole folder to the path.

1 commentaire

Geoff Hayes
Geoff Hayes le 28 Juin 2015
If you don't want to the folder to the path (why not?) then just change to this directory/folder and run the script from there. (I'm assuming that the script and function are in the same folder.)

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Automotive dans Centre d'aide et File Exchange

Question posée :

le 28 Juin 2015

Commenté :

le 28 Juin 2015

Community Treasure Hunt

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

Start Hunting!

Translated by