How can I refresh the icons used by a deployed application?

15 ビュー (過去 30 日間)
Bernard Lemay
Bernard Lemay 2017 年 9 月 13 日
回答済み: Seth Kenner 2020 年 1 月 2 日
I am actually working on an application that we plan to deploy to our colleagues using the Matlab Compiler. For my test run, I tried changing the icons before packaging and then installed the application. All went well.
I then changed my mind and went back to Matlab's default set of icons and re-packaged my application. Now, whenever I install the application and add a Desktop Shortcut (Windows 10), it uses the 'old' icon I used the first time around. There is no way to revert back to Matlab's default set of icons, no matter what I try.
Any ideas on how to refresh the icons used by a deployed application? Thanks!
  1 件のコメント
Zachary Klamer
Zachary Klamer 2017 年 9 月 13 日
What do you mean by "changed the icons before packaging"?
If you are using the Matlab compiler gui there is a subtle button next to the "Application Name" Field which looks like the default icon, clicking that allows you to select a different icon for your code which becomes the shortcut/application icon.
That's worked for me in the past.

サインインしてコメントする。

採用された回答

Seth Kenner
Seth Kenner 2020 年 1 月 2 日
I had this issue also. I believe it is a windows icon cache issue. I followed the instruction from the link below and it worked for me.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB Compiler についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by