How can I install an App simultaneously with a toolbox?

3 visualizaciones (últimos 30 días)
Meade
Meade el 14 de Abr. de 2016
Respondida: Adrian Cherry el 15 de Dic. de 2022
I have a toolbox that I have created for deployment within our team. All the inherent functionality seems to work fine.
However, I have a primary GUI that I would like the user to be able to launch from the APPS tab. I know how to package an APP and I know how to package a toolbox... How do I package an APP in a toolbox? If I do them separately, then it becomes a mess of ensuring that relative path calls all work.
Many thanks.

Respuesta aceptada

Meade
Meade el 6 de Sept. de 2016
Since no one answered, I'll leave this for posterity.
To have an APP install automatically with a distributed TOOLBOX, simply save the *.mlappinstall file in the toolbox directory. Then when compiling the toolbox, be sure to Refresh the area with Help, Documentation, and Apps.
Take care that you compile the APP using the same source files as the toolbox, otherwise, the APP may have dependency problems.

Más respuestas (1)

Adrian Cherry
Adrian Cherry el 15 de Dic. de 2022
Hi,
Late to the party here. Your solution seems to be the best available given the packaging dialogs supplied I'm but not entirely convinced, it should do better.
As far as I can see the mlappinstall file stores it's own copy of the functions required to run, i.e. duplicating the toolbox functions. This means that the toolbox ends up being bloatware with multiple copies of files. Also potentially leading to much confusion where if you forget update the app packaging potentially have the toolbox function at one version but the mlappinstall file has a copy of the older version of the function.

Categorías

Más información sobre Package and Share Apps en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by