how to change compiled app icon (using app designer) on the app and windows taskbar
81 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
PierreC
2020 年 5 月 7 日
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...
採用された回答
Roger Dettloff
2021 年 4 月 29 日
Starting in R2020b we can use the UIFigue.Icon property, for example:
UIFigure.Icon = 'myicon.png'
See this answer here
0 件のコメント
その他の回答 (1 件)
Feng
2022 年 4 月 1 日
I have MatLab ver 2021b. You can change the default ICON like shown in this picture.
6 件のコメント
Eric Delgado
2022 年 10 月 14 日
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
2022 年 10 月 14 日
Thank you very much anyway. I will try myself to search further and let you know!
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!