How to overcome install error using buildtool
显示 更早的评论
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?
回答(0 个)
类别
在 帮助中心 和 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!