%  ==============================================================
%  SPLASH_DEMO: Display splash screen while GUI loads
%   
%       GENERAL
%   
%        [] = splash_demo ()
%
%       ABOUT
%         -Created:     February 13th, 2004
%         -Last update: March 2004
%         -Revision:    0.0.1
%         -Author:      R. S. Schestowitz, University of Manchester
%  =================================================================

splash_handle = splash;
   % set handle for created splash screen
register;
   % create main GUI
close (splash_handle);
   % destroy the splash screen when GUI is done loading
clc;
   % clear screen
