Making a splash Screen for my Gui program

38 ビュー (過去 30 日間)
Mikkel
Mikkel 2013 年 4 月 14 日
編集済み: Rik 2023 年 1 月 27 日
Hi
I've just finished my gui program and of course I run into a new problem. When I want to start my Gui program it takes about 30 seconds for it to start up. I have to go to my Task Manager to see what's going on.
What I want to do is make a splash screen like the one matlab has, same picture and everything. But I'm very confused. Do I make a new gui with the small picture and then what do I compile it with? Because if I use the Windows Standalone Compiler then the picture will also take 30 seconds to open, or what? And that doesn't solve my problem but only moves it into a new gui.
I would like a dummy script where I can see what is going on, and what I need to do?
I don't understand if the splash screen has the other gui inside of it, or you just make a short-cut where you press the splash screen and when the other gui starts up the splash screen closes.
As you can see I'm totally new to this concept, so I really need some help.

回答 (4 件)

per isakson
per isakson 2013 年 4 月 14 日
A link to Undocumented Matlab: Splash window for deployed applications
  2 件のコメント
Mikkel
Mikkel 2013 年 4 月 15 日
Yeah thanks, have been looking at that for a while now, but still cant make that splash screen. Because if you make a short-cut where can you put that line that doesn't give you an error?
I've tried to make a notepad that I then afterwards change to a program. But that doesn't work.
per isakson
per isakson 2013 年 4 月 15 日
編集済み: per isakson 2013 年 4 月 15 日
I cannot contribute much besides that link. However, the fact that the post exists at Undocumented Matlab and offers a special app, Splash, indicates that the task isn't trivial. (Given that the MCR load time is an important part of the total loading time.)
Speculation:
  • Isn't it possible to make a wrapper in a different language that shows a splash screen and starts your Matlab program?
  • Any Matlab based solution will be unreponsive while the MCR loads.

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


Adam Filion
Adam Filion 2013 年 4 月 15 日
Search for 'splash screen' on the MATLAB File Exchange, there are a number of entries that can do this for you.

Jia Tsing Ng
Jia Tsing Ng 2014 年 6 月 6 日
編集済み: Rik 2023 年 1 月 27 日
Tried a few solutions people have posted, and I find this to work brilliantly! http://www.matlabexperthelp.com/2012/07/13/create-a-splash-screen-for-your-compiled-matlab-gui/
Took me awhile to find it, so I'm now posting it here!
Extremely grateful for their effort, and since it's a VB wrapper, changing icons etc are all possible!
Edit @Rik: replaced direct link by archived page. File attachments might not have been captured.
  1 件のコメント
Douglas Anderson
Douglas Anderson 2015 年 8 月 25 日
FYI -- This link is dead as of 8/25/15.
Doug

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


Sean de Wolski
Sean de Wolski 2014 年 6 月 6 日
In R2014a, you can select a custom splashscreen icon in the application compiler app:
It will show before the 30s MCR spooling starts.

カテゴリ

Help Center および File ExchangeMATLAB Compiler についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by