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.
Qun HAN (2021). splash.m(revised) (https://www.mathworks.com/matlabcentral/fileexchange/5946-splash-m-revised), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.
very nice
I am not able to use it in my GUI. can anyone help me out of this?
fantastic script! thank you.
It causes Matlab r2012a to freeze up and crash
Nice job! Looks fancy
It is really useful,
Thanks for sharing.....
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.
please add support for transparency
It crashes MATLAB R2008a.
Is there an English version of latest version?
Very nice. You can also raise the splash window to the top (foreground) by adding win.toFront after the win.show command.
Please visit http://e.simwe.com/html/2/8/4/1/3/space.html for the latest version.
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)
only needs a way to write text on the top of the image (for the version number for instance)
Good example!I have also seen the 'Splash Screen' Anony Mous mentioned. I think that is a 'Splash Window' not a 'Splash Screen'!
'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