Starting the AddOn Manager from the command line

14 ビュー (過去 30 日間)
Rob Campbell
Rob Campbell 2023 年 1 月 15 日
編集済み: Chris 2023 年 2 月 11 日
I am trying to write some routines to assist users with automatically updating software. It would be helpful if I could run a command that would open the AddOn Manager but so far I can't find one. Does one exist?
  3 件のコメント
Rob Campbell
Rob Campbell 2023 年 1 月 16 日
I am looking for a command to load the Add On Manager GUI rather than run the update on my software. The reason is that the user might want to explore what the changes are before comitting themselves.

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

回答 (2 件)

Aditya Jha
Aditya Jha 2023 年 1 月 18 日
Hi!
You can use matlab.addons.install()” to install an add on through command line. Here is the example code the demonstrates that
>>matlab.addons.install(toolboxFile,agreeToLicense)
Please refer to the following documentation for more details: https://www.mathworks.com/help/matlab/ref/matlab.addons.install.html
You can also use The MATLAB Production Server Add-On Explorer provides a graphical interface to find, install, and manage MATLAB Production Server add-ons.
>>prodserver.addon.Explorer
Please refer to the following documentation for more details: https://www.mathworks.com/help/mps/ml_code/manage-add-ons.html
  3 件のコメント
Rob Campbell
Rob Campbell 2023 年 1 月 19 日
The Production Server is an optional toolbox. I can't assume my users will have it so it's not a solution, sadly.
The "pathtool" command opens the GUI for modifying the MATLAB path. Is there no command to open the already built-in Addon Manager GUI?

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


Chris
Chris 2023 年 2 月 11 日
編集済み: Chris 2023 年 2 月 11 日
I've just run across the Matlab Package Manager, though I'm not sure it would be helpful for your case either.

カテゴリ

Find more on Manage Products in Help Center and File Exchange

タグ

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by