Code covered by the BSD License  

Highlights from
Fancy splash screen for compiled .exe GUIs

4.42857

4.4 | 7 ratings Rate this file 38 Downloads (last 30 days) File Size: 202.95 KB File ID: #21110
image thumbnail

Fancy splash screen for compiled .exe GUIs

by W Thielicke

 

16 Aug 2008 (Updated 18 Aug 2008)

Displays your splash screen while loading your compiled GUI

| Watch this File

File Information
Description

Now you can display a fancy, real splash screen instead of the boring command window while your compiled GUI is starting up. You can modify the appearance of the splash screen easily by exchanging a bitmap file.
You have to add one single line of code in your GUI .m file before compiling it:

function MyNiceGUI_OpeningFcn(hObject, eventdata, handles, varargin)
disp('GUIstarted');

Required Products MATLAB Compiler
MATLAB release MATLAB 5.2 (R10)
Other requirements This has been tested on Windows XP and Vista, probably also works on other Windows versions.
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (17)
22 Jan 2009 Jveer

looks good. can it be used to display images with transparent backgrounds?

20 Feb 2009 W Thielicke

You can only use bmp's as splash screen, and bmp's don't support transparency as far as I know.

25 Feb 2009 Jveer

oh thats unfortunate. i tried my own version using imread (to support other more useful formats than bmp) but when i load an image with transparent background the latter is replaced with a black background.

27 Feb 2009 W Thielicke

The splash screen is programmed in VB.NET, hence I could also choose one color within the image as a "transparency key", making the splash screen transparent. But since I do not get comments or any ratings on my contribution I suppose that noone uses it anyway.

02 Mar 2009 Jveer  
18 Jun 2009 Olivier Francois  
18 Jun 2009 Olivier Francois

I've missed my commentary...

Very great contribution.
It works fine with GUIs compiled with 2008b (compiler v79).
The file matgui.exe might not work as with newer version of the compiler it is given with mclmcrrt79 instead of mclmcrrt78 (so that file is then missing to launch matgui).

Fortunately, the splash screen doesn't care about that ;)

Would you consider supporting bitmaps bigger than 320x160 ?

Thanks for this contribution.

01 Sep 2009 Mehmet OZTURK  
02 Sep 2009 W Thielicke

Images bigger than 320x160 can be implemented. If you have special wishes, contact me, and I'll see what I can do.
The splash screen should work with any version of the compiler, since it is completely independent of matlab.

19 Jul 2010 Alexander Kosenkov

This is NOT working in out-of-the-box Windows Vista, fails with error message and stops forever:

matgui.exe - Unable To Locate Component
---------------------------
This application has failed to start because mclmcrrt78.dll was not found. Re-installing the application may fix this problem.

.NET, Matlab and MCR were installed.

19 Jul 2010 W Thielicke

I recommend to have a look at the documentation for your problem:
http://www.mathworks.com/support/solutions/en/data/1-1IW46N/
So you should recompile the Matlab GUI using YOUR deployment toolbox.

18 Oct 2010 Alexander Kosenkov

Do you have any plans to publish the source code?
I would like to add Tip Of The Day into this window.

01 Feb 2011 Sven Gerich

Very nice tool!
I think, it will be very handy for some of my applications :)

29 Aug 2011 JuBar

Excellent app ! Is there anyway to use bigger pictures and modify the text displayed on the image ? (I'd like to use it in a French app)
Anyway thanks for this little program !

26 Nov 2011 Andre Asfar

Nice!! :)

15 Dec 2011 Michelle

Will this work with R2009b compiled applications?

16 Dec 2011 W Thielicke

I think it will. The splash screen is just starting the Matlab compiled exe and hides the command window while displaying a bitmap at the same time.

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
gui tools W Thielicke 22 Oct 2008 10:14:56
example W Thielicke 22 Oct 2008 10:14:56
gui W Thielicke 22 Oct 2008 10:14:56
guide W Thielicke 22 Oct 2008 10:14:56
exe W Thielicke 22 Oct 2008 10:14:56
compiler W Thielicke 22 Oct 2008 10:14:56
compiled W Thielicke 22 Oct 2008 10:14:56
splash W Thielicke 22 Oct 2008 10:14:56
startup W Thielicke 22 Oct 2008 10:14:56
screen W Thielicke 22 Oct 2008 10:14:56
loader W Thielicke 22 Oct 2008 10:14:56

Contact us at files@mathworks.com