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

2 views (last 30 days)
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 :)

Answers (0)

Categories

Find more on Environment and Settings in Help Center and File Exchange

Products


Release

R2016b

Community Treasure Hunt

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

Start Hunting!