how to run function from the same folder?

31 次查看(过去 30 天)
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 个评论
Geoff Hayes
Geoff Hayes 2015-6-28
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.)

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Search Path 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by