How to install required add-ons when using matlab.addons.install
Show older comments
When installing an mltbx that has required addons by double clicking on it from the "Current Folder" panel the IDE will tell me about any additional required addons (toolboxes) that needs to be installed and install them as part of the interaction. If the toolbox is already present and has multiple versions available it will change the enabled version to the one that the mltbx requires during install.
I noticed that neither of these things happen if I install a toolbox using the matlab addon or toolbox install apis. I was wondering if there are other APIs that I can use to query an mltbx for it's "Required Add-ons" dependencies as part of an install from the command window (or other non GUI environment) to then pass to additional API install calls, or another way to achieve parity with the mltbx GUI installer functionality in a script environment.
I will note that calling open runs the dialog, but want to confirm this is intended (as mltbx is not on the doc page), and I need to test the behavior in a non interactive environment to see if it will automatically manage the install, or fail since there can be a confirmation dialog.
open("<name>.mltbx")
Accepted Answer
More Answers (0)
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!