How can I compile a GUI which uses a splash screen and a custom icon?
3 views (last 30 days)
Show older comments
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 Comments
Bas van der Vorst
on 24 Aug 2023
Moved: Voss
on 24 Aug 2023
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
Answers (0)
See Also
Categories
Find more on Environment and Settings in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!