how to run function from the same folder?

32 views (last 30 days)
Mr M.
Mr M. on 28 Jun 2015
Commented: Geoff Hayes on 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 Comment
Geoff Hayes
Geoff Hayes on 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.)

Sign in to comment.

Answers (0)

Categories

Find more on Search Path 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!