View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from

4.3 | 10 ratings Rate this file 8 Downloads (last 30 days) File Size: 3.66 KB File ID: #5946 Version: 1.2
image thumbnail



Qun HAN (view profile)


29 Sep 2004 (Updated )

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

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.


This file inspired Machine Vision System Color Recognition and Hysteresis In Ferromagnetic Gui.

MATLAB release MATLAB 7 (R14)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (18)
16 Oct 2015 ceeri

ceeri (view profile)


I am not able to use it in my GUI. can anyone help me out of this?

Comment only
28 Feb 2013 Hossein

fantastic script! thank you.

04 Oct 2012 Ryan Stafford

It causes Matlab r2012a to freeze up and crash

Comment only
29 Jul 2011 Nate

Nate (view profile)

Nice job! Looks fancy

Comment only
13 Feb 2010 Mohammed El-Said

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

08 Oct 2009 Jveer

Jveer (view profile)

01 Jun 2009 Qun HAN

Qun HAN (view profile)

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.

Comment only
08 May 2009 Jveer

Jveer (view profile)

please add support for transparency

26 Apr 2008 Durga Shrestha

It crashes MATLAB R2008a.

Comment only
14 Nov 2007 ma ma

05 Jul 2007 john baldwinson

Is there an English version of latest version?

Comment only
25 Jun 2007 John Simeral

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

28 Jan 2007 MATLAB Lover

Please visit for the latest version.

Comment only
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)

03 Feb 2006 charles lehalle

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

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'!

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:

Comment only
08 May 2009 1.2

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

Contact us