how to run function from the same folder?

31 Ansichten (letzte 30 Tage)
Mr M.
Mr M. am 28 Jun. 2015
Kommentiert: Geoff Hayes am 28 Jun. 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 Kommentar
Geoff Hayes
Geoff Hayes am 28 Jun. 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.)

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Search Path finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by