How can I compile a GUI which uses a splash screen and a custom icon?

3 ビュー (過去 30 日間)
Christian Hermann
Christian Hermann 2018 年 8 月 17 日
移動済み: Voss 2023 年 8 月 24 日
Hello :)
I have a GUI which I compiled to have a standalone. I want to have a splash screen which appears when I start the standalone. I also want to have a custom icon which is shown in the taskbar when the standalone ist opened. At first I compiled the GUI using '-W main'. This was helpful to show the icon in the taskbar. But there wasn't any splash screen. There just appeard a command prompt. To show the splash screen I compiled the GUI with '-W winmain'. But then there was the problem that matlab used the default icon and not my custom icon.
My original code is very very large thatswhy I wrote a small code to show you my problem.
I uploaded the files you need to try it out. The only problem is that I'm not able to upload the icon because the file it is a *.ico But i uploaded an image which you can convert here https://www.icoconverter.com/
I hope you understand my problem :)
  2 件のコメント
Christian Hermann
Christian Hermann 2018 年 8 月 20 日
移動済み: Voss 2023 年 8 月 24 日
Any help? Please :'(
Bas van der Vorst
Bas van der Vorst 2023 年 8 月 24 日
移動済み: Voss 2023 年 8 月 24 日
You can use the Application Compiler app for this as well I suppose?
Here you can add splash screen, change the icon to customize the standalone app https://nl.mathworks.com/help/mps/ml_code/customizing-the-installer.html

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeEnvironment and Settings についてさらに検索

製品


リリース

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by