how to run function from the same folder?

31 vues (au cours des 30 derniers jours)
Mr M.
Mr M. le 28 Juin 2015
Commenté : Geoff Hayes le 28 Juin 2015
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 Search Path dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by