フィルターのクリア

Set icon of app when packaged with a toolbox

7 ビュー (過去 30 日間)
Ben Mercer
Ben Mercer 2022 年 8 月 24 日
回答済み: George Mortimer 2023 年 8 月 10 日
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

回答 (1 件)

George Mortimer
George Mortimer 2023 年 8 月 10 日
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

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by