How to overcome install error using buildtool
Mostra commenti meno recenti
When using a build file I create a json meta data to include release version, GUID, author details, getting stated guide etc. I include these details in the package task, meaning that if I unzip my .mtlbx file it does not have a single metatdata.xml folder, but rather a folder with the various components. Therefore, when I install, I am using the matlab.addons.install rather than matlab.addons.toolbox.installToolbox.
During my install task, if I have a previously installed version of my software, I run into an issue where the automated uninstall (that is part of the install) attempts to run. This fails because, although the software is listed in the matlab.addons.installedAddons, it is not found in the internal addons registry, so can't be removed this way. If I manually remove it using the addon Manager, I do not have any issues. Is there a way to overcome this, or a fix in future releases?
Risposte (0)
Categorie
Scopri di più su Introduction to Installation and Licensing in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!