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

3 vues (au cours des 30 derniers jours)
Christian Hermann
Christian Hermann le 17 Août 2018
Déplacé(e) : Voss le 24 Août 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 commentaires
Christian Hermann
Christian Hermann le 20 Août 2018
Déplacé(e) : Voss le 24 Août 2023
Any help? Please :'(
Bas van der Vorst
Bas van der Vorst le 24 Août 2023
Déplacé(e) : Voss le 24 Août 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

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Environment and Settings dans Help Center et File Exchange

Produits


Version

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by