File Exchange

image thumbnail

splash.m(revised)

version 1.2.0.0 (3.66 KB) by Qun HAN
Add a splash screen to your GUI

3 Downloads

Updated 08 May 2009

View Version History

View License

Editor's Note: This file was selected as MATLAB Central Pick of the Week

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.

Cite As

Qun HAN (2020). splash.m(revised) (https://www.mathworks.com/matlabcentral/fileexchange/5946-splash-m-revised), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (20)

Yiwu Kuang

very nice

Ryu Hoshi

ceeri

SYED AHSAN UD DIN

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

Hossein

fantastic script! thank you.

Ryan Stafford

It causes Matlab r2012a to freeze up and crash

Nate

Nice job! Looks fancy

Mohammed El-Said

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

Jveer

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.

Jveer

please add support for transparency

Durga Shrestha

It crashes MATLAB R2008a.

ma ma

john baldwinson

Is there an English version of latest version?

John Simeral

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

MATLAB Lover

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

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)

charles lehalle

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

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

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

MATLAB Release Compatibility
Created with R14
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired: Machine Vision System - Color Recognition

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!