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
per isakson 2014 年 8 月 1 日

0 投票

AFAIK: The only way is to
  1. remove all user folders from the search path
  2. add the user folders afterwards
There are a couple of tools in the FEX, which might be helpful

カテゴリ

ヘルプ センター および File Exchange で Search Path についてさらに検索

タグ

質問済み:

2014 年 7 月 31 日

回答済み:

2014 年 8 月 1 日

Community Treasure Hunt

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

Start Hunting!

Translated by