Borrar filtros
Borrar filtros

Set icon of app when packaged with a toolbox

7 visualizaciones (últimos 30 días)
Ben Mercer
Ben Mercer el 24 de Ag. de 2022
Respondida: George Mortimer el 10 de Ag. de 2023
Hi,
I'm packaging an app inside a toolbox, but I can't find a way to set the app icon that appears on the "Apps" ribbon tab - it always just displays a default icon. I've set the icon in app designer in the "App Details" dialogue, and in the UIFigure properties, but this makes no difference to the icon which is displayed on the ribbon.
When I package the toolbox, my app is detected by the packaging dialogue due to it being inside my toolbox folder. It appears under the "Examples, Apps and Documentation" tab, but it just has a default icon and there doesn't appear to be any way to modify this.
I don't want to package this separately as a MATLAB app because then it will embed all the dependent code, duplicating what is already in my toolbox.
Thanks
Ben

Respuestas (1)

George Mortimer
George Mortimer el 10 de Ag. de 2023
Not sure if you found another answer to this, but I came across this while trying to solve the same problem. Here's my solution:
  • Start packaging the app individually
  • Remove any files included through analysis (right-click and delete)
  • Package the app
  • Package your toolbox with the packaged app

Categorías

Más información sobre Develop Apps Using App Designer en Help Center y File Exchange.

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by