Code covered by the BSD License  

Highlights from
splash.m(revised)

4.42857

4.4 | 8 ratings Rate this file 25 Downloads (last 30 days) File Size: 3.66 KB File ID: #5946
image thumbnail

splash.m(revised)

by Qun HAN

 

29 Sep 2004 (Updated 08 May 2009)

Add a splash screen to your GUI

Editor's Notes:

This file was selected as MATLAB Central Pick of the Week

| 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 (14)
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  
13 Feb 2010 Mohammed El-Said

It is really useful,
Thanks for sharing.....

29 Jul 2011 Nate

Nice job! Looks fancy

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
utilities Qun HAN 22 Oct 2008 07:32:07
java Qun HAN 22 Oct 2008 07:32:07
potw Lindsay Coutinho 08 Mar 2011 11:12:55
pick of the week Lindsay Coutinho 08 Mar 2011 11:12:55
splash screen Tiago 22 Nov 2011 09:52:05

Contact us at files@mathworks.com