Home > cellorganizer > startup.m

startup

PURPOSE ^

Startup script

SYNOPSIS ^

This is a script file.

DESCRIPTION ^

Startup script

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 %Startup script
0002 
0003 % Author: Ivan E. Cao-Berg (icaoberg@cmu.edu)
0004 %
0005 % Copyright (C) 2008-2013 Murphy Lab
0006 % Lane Center for Computational Biology
0007 % School of Computer Science
0008 % Carnegie Mellon University
0009 %
0010 % This program is free software; you can redistribute it and/or modify
0011 % it under the terms of the GNU General Public License as published
0012 % by the Free Software Foundation; either version 2 of the License,
0013 % or (at your option) any later version.
0014 %
0015 % This program is distributed in the hope that it will be useful, but
0016 % WITHOUT ANY WARRANTY; without even the implied warranty of
0017 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
0018 % General Public License for more details.
0019 %
0020 % You should have received a copy of the GNU General Public License
0021 % along with this program; if not, write to the Free Software
0022 % Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
0023 % 02110-1301, USA.
0024 %
0025 % For additional information visit http://murphylab.web.cmu.edu or
0026 % send email to murphy@cmu.edu
0027 
0028 addpath( genpath( pwd ) );
0029 if ~isCompatible
0030     rmpath( genpath( pwd ) );
0031     error( ['CellOrganizer: The current system is not ' ...
0032         'compatible with this version. Please read the documentation ' ...
0033         'for more information.']);
0034 else
0035     try
0036         close all;
0037         splash
0038         pause(3);
0039         close all;
0040         %removed toolbar usage from this release
0041         %toolbar;
0042         setup
0043     catch
0044         setup
0045     end
0046 end

Generated on Sun 29-Sep-2013 18:44:06 by m2html © 2005