how to change compiled app icon (using app designer) on the app and windows taskbar
Mostrar comentarios más antiguos
Could someone please help me to modify the default icon of MATLAB to custom icons on the compiled app using App Designer on both the app and the windows taskbar?
Please see the red square on the following figure which highlights the icons that I want to replace with custom icons.
thanks a lot!

8 comentarios
Mohammad Sami
el 28 de En. de 2020
Editada: Mohammad Sami
el 28 de En. de 2020
in the application compiler, you can click the small icon next to application name field to select a custom icon. This will change the taskbar icon. However on windows 10 i notice, the displayed icon does not change.

Yang Yang
el 29 de En. de 2020
Alberto Urban
el 9 de Abr. de 2020
Hi Yang, I have your same problem. Were you able to solve?
Thank you
Yang Yang
el 9 de Abr. de 2020
Alberto Urban
el 14 de Abr. de 2020
Editada: Alberto Urban
el 14 de Abr. de 2020
Hi Yang,
yes I have Windows 10 (latest update) and Matlab 2020a. I have to release the executable soon, and it's really bad to have it without a custom icon. I hope they resolve soon.
J. Alex Lee
el 14 de Abr. de 2020
At least for pre-appdesigner apps, there was never a capability to change that icon. I doubt TMW would have changed that for newer appdesigner apps, especially if you consider that web apps used to have an unremovable "MATLAB" banner taking up significant screen realestate. They want you to know you (and your customers) are using their product :)
PierreC
el 7 de Mayo de 2020
Could not find a way to do it either, still stuck with MatLab icon in the title bar and the win taskbar (Win10 as well).
Flying MatLab's colours is all very well but this still sucks : I'd love to be able to use different icons for different pop-ups or windows in my app...
Yang Yang
el 7 de Mayo de 2020
Respuesta aceptada
Más respuestas (1)
Feng
el 1 de Abr. de 2022
1 voto
I have MatLab ver 2021b. You can change the default ICON like shown in this picture.

6 comentarios
Asier Rodriguez
el 11 de Mayo de 2022
Hello Mr Feng!
I have tried to do that update on the icon, changed the property as well (UIFigure.Icon = 'myicon.png') but it doesn't seem to work.
Could you please send some screenshot with the final result or with further information?
Thanks in advance!
Eric Delgado
el 10 de Oct. de 2022
Hey guys... do you have a solution for this issue? It looks like the "Icon" property only control the icon of the figure, not the showed icons on the taskbar and task manager.

Eric Delgado
el 10 de Oct. de 2022
@Asier Rodriguez, maybe it's a problem of path. Put your icon image as requered files (on Compiler).
Asier Rodriguez
el 10 de Oct. de 2022
Could you deliver some screenshots with this update's results? Have you tried to insert the icon within the corresponding path?
Thx in advance!
Eric Delgado
el 14 de Oct. de 2022
See code attached - put the image in the same folder of the app1.mlapp.

I still don't know how to treat the taskbar icon (Matlab icon). The taskmanager icon is from MatlabWindow.exe (the Matlab Runtime executable file that is called by your standalone app).
Asier Rodriguez
el 14 de Oct. de 2022
Thank you very much anyway. I will try myself to search further and let you know!
Categorías
Más información sobre Develop Apps Using App Designer en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!