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 Comment

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 Automotive in Help Center and File Exchange

Asked:

on 28 Jun 2015

Commented:

on 28 Jun 2015

Community Treasure Hunt

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

Start Hunting!