Starting the AddOn Manager from the command line
34 次查看(过去 30 天)
显示 更早的评论
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 个评论
Chris
2023-1-16
编辑:Chris
2023-1-16
Or run matlab with a script that runs matlab.addons.install.
Not much functionality available in that--you'd have to overwrite everything, unless you can find a way to check the versions online. Hardware support packages are updated more frequently, and have a more useful function.
upgradePreviouslyInstalledSupportPackages
回答(2 个)
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
4 个评论
cui,xingxing
2024-3-6
编辑:cui,xingxing
2024-3-6
Current command "matlab.addons.install" only support install .mltbx toolbox file, if i have .mlappinstall file(suitable for App) and .mlpkginstall file(suitable for hardware support package) need to programmally install,how to do it?@Aditya Jha
>>matlab.addons.install(toolboxFile,agreeToLicense)
------update------
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!