Azzera filtri
Azzera filtri

Set icon of app when packaged with a toolbox

7 visualizzazioni (ultimi 30 giorni)
Ben Mercer
Ben Mercer il 24 Ago 2022
Risposto: George Mortimer il 10 Ago 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

Risposte (1)

George Mortimer
George Mortimer il 10 Ago 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

Categorie

Scopri di più su Develop Apps Using App Designer in Help Center e File Exchange

Prodotti


Release

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by