Set icon of app when packaged with a toolbox

11 Ansichten (letzte 30 Tage)
Ben Mercer
Ben Mercer am 24 Aug. 2022
Beantwortet: George Mortimer am 10 Aug. 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

Antworten (1)

George Mortimer
George Mortimer am 10 Aug. 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

Kategorien

Mehr zu Develop Apps Using App Designer finden Sie in Help Center und File Exchange

Produkte


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by