Set Add-ons path using commands
23 ビュー (過去 30 日間)
古いコメントを表示
Hi,
I'm interested in setting the Add-ons path using commands rather than going through the MATLAB preferences dialog. Is there a way to do this?
Thanks
Alan
0 件のコメント
回答 (1 件)
Henry Giddens
2017 年 9 月 30 日
6 件のコメント
John Harris
2018 年 1 月 4 日
One place the add-ons directory is stored, at least on Windows, is a matlab.settings file in the AppData folder. For example, mine is c:\users\username\AppData\Roaming\MathWorks\MATLAB\R2017b\matlab.settings with a key name of "InstallationFolder".
James Richard
2022 年 3 月 20 日
編集済み: James Richard
2022 年 3 月 20 日
So what's the solution to change the add-ons directory directly?
We have this to change the hardware support package directory.
matlabshared.supportpkg.setSupportPackageRoot
But why don't we have something like this?
matlab.internal.setSettingsRoot
参考
カテゴリ
Help Center および File Exchange で System Commands についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!