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 个评论

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 个)

类别

帮助中心File Exchange 中查找有关 Vehicle Dynamics Blockset 的更多信息

提问:

2015-6-28

Community Treasure Hunt

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

Start Hunting!

Translated by