4.66667

4.7 | 3 ratings Rate this file 34 downloads (last 30 days) File Size: 202.95 KB File ID: #21110

Fancy splash screen for compiled .exe GUIs

by W Thielicke

 

16 Aug 2008 (Updated 18 Aug 2008)

Code covered by the BSD License  

Displays your splash screen while loading your compiled GUI

Download Now | 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.
Zip File Content  
Other Files _HowToUse.txt,
matgui.bmp,
matgui.exe,
matgui.fig,
matgui.m,
SplashMATGUI.exe
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (9)
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.

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
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com