How to disable a toolbox

88 ビュー (過去 30 日間)
Gus C
Gus C 2020 年 6 月 25 日
編集済み: Image Analyst 2020 年 7 月 5 日
How can I disable a particular toolbox? I have my own code, in which I am using a function 'diffusion', which is preceded, possibly by a function from financial toolbox. Running it on my home PC terminates successfully, but on HP cluster it throws an error, confusing the two functions (saying e.g. that I give too many input arguments).

採用された回答

Matt J
Matt J 2020 年 6 月 25 日
Add all your code to the top of the Matlab path using addpath
Then, Matlab will see your version of diffusion first, and use that.
  7 件のコメント
Gus C
Gus C 2020 年 7 月 5 日
Ok, thanks a lot!
Matt J
Matt J 2020 年 7 月 5 日
You're welcome, but please Accept-click the answer if you consider your question addressed.

サインインしてコメントする。

その他の回答 (1 件)

Image Analyst
Image Analyst 2020 年 7 月 5 日
編集済み: Image Analyst 2020 年 7 月 5 日
To disable an entire toolbox -- ALL of it's functions -- you can uninstall it from the Add-On Manager (Home tab of Toolbar -> Add-ons -> financial toolbox -> three dots -> Uninstall). I don't think it actually deletes the files. It's not quick, like a one-liner you can do in your code. Then to turn it back on, you again use the Add-on Manager to re-enable it.

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by