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?

댓글 수: 2

dpb
dpb 대략 20시간 전
Submit this to Mathworks as an official support/enhancement request at <Product Support Page>
Jennifer
Jennifer 대략 19시간 전
I have submitted a ticket, thank you.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품

릴리스

R2024b

질문:

2026년 6월 1일 17:04

댓글:

2026년 6월 1일 19:47

Community Treasure Hunt

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

Start Hunting!

Translated by