How can I clear the search path to test software I want to distribute?
显示 更早的评论
Hello,
I have to distribute some Matlab functions and need to provide all dependencies. Is there a way to use only user functions present in the current working directory? So I would notice if one is missing as the one in the search path is not available...
Kind regards, W
回答(1 个)
per isakson
2014-8-1
0 个投票
AFAIK: The only way is to
- remove all user folders from the search path
- add the user folders afterwards
There are a couple of tools in the FEX, which might be helpful
类别
在 帮助中心 和 File Exchange 中查找有关 Search Path 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!