Set icon of app when packaged with a toolbox

조회 수: 27 (최근 30일)
Ben Mercer
Ben Mercer 2022년 8월 24일
댓글: Michael VanMeter 2025년 3월 19일
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 CenterFile Exchange에서 Develop 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