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

7 Ansichten (letzte 30 Tage)
Christian Hermann
Christian Hermann am 17 Aug. 2018
Verschoben: Voss am 24 Aug. 2023
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 Kommentare
Christian Hermann
Christian Hermann am 20 Aug. 2018
Verschoben: Voss am 24 Aug. 2023
Any help? Please :'(
Bas van der Vorst
Bas van der Vorst am 24 Aug. 2023
Verschoben: Voss am 24 Aug. 2023
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

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Big Data Processing finden Sie in Help Center und File Exchange

Produkte


Version

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by