4.33333

4.3 | 7 ratings Rate this file 81 downloads (last 30 days) File Size: 3.66 KB File ID: #5946

splash.m(revised)

by Qun HAN

 

29 Sep 2004 (Updated 08 May 2009)

Code covered by BSD License  

Add a splash screen to your GUI

Download Now | Watch this File

File Information
Description

This function utilize the JAVA interface of MATLAB to add a splash screen to your GUI programs. To use splash.m, just call it in your GUI as you call most MATLAB in-line functions. You can control of the duration time and the image to be displayed.

Acknowledgements
This submission has inspired the following:
Machine Vision System - Color Recognition
MATLAB release MATLAB 7 (R14)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (12)
04 Oct 2004 Anony Mous

'Splash Screen' already does that. It also fits the duration of its visibility to the time it takes to load the program. See:
http://www.mathworks.nl/matlabcentral/fileexchange/loadFile.do?objectId=4891&objectType=FILE

10 Jun 2005 John Bush

Good example!I have also seen the 'Splash Screen' Anony Mous mentioned. I think that is a 'Splash Window' not a 'Splash Screen'!

03 Feb 2006 charles lehalle

only needs a way to write text on the top of the image (for the version number for instance)

22 Sep 2006 Tom Crocker

Easily modified to return a handle to the created screen so you can destroy it yourself once your GUI has finished loading (rather than having to guess)

28 Jan 2007 MATLAB Lover

Please visit http://e.simwe.com/html/2/8/4/1/3/space.html for the latest version.

25 Jun 2007 John Simeral

Very nice. You can also raise the splash window to the top (foreground) by adding win.toFront after the win.show command.

05 Jul 2007 john baldwinson

Is there an English version of latest version?

14 Nov 2007 ma ma  
26 Apr 2008 Durga Shrestha

It crashes MATLAB R2008a.

08 May 2009 Jveer

please add support for transparency

01 Jun 2009 Qun HAN

To Jveer:

The image is displayed on a JWindow. There is no means to make a JWindow transparent as far as I know. May be the future version of JAVA will add this function.

08 Oct 2009 Jveer  
Please login to add a comment or rating.
Updates
07 Dec 2005

The revised version can fit the duration of its visibility to the time it takes to load the program.

08 May 2009

Using the revised version you can control the duration time of the splash according to your program's need, the initialization time, for example.

Tag Activity for this File
Tag Applied By Date/Time
gui tools Qun HAN 22 Oct 2008 07:32:07
example Qun HAN 22 Oct 2008 07:32:07
gui Qun HAN 22 Oct 2008 07:32:07
splash screen Qun HAN 22 Oct 2008 07:32:07
java Qun HAN 22 Oct 2008 07:32:07
utilities Qun HAN 22 Oct 2008 07:32:07
 

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