% GUISDAP v1.50   94-03-10 Copyright Markku Lehtinen, Asko Huuskonen 
%
% The startup file for GUISDAP. 
% Defines the GUP version number and certain global variables
% namely:   GUP_ver path_GUP path_exps path_tmp name_expr name_site data_path result_path 
% If you want this to executed every time you invoke matlab,
% add reference to start_GUP to your personal startup file

clear all, clear global

global GUP_ver path_GUP path_exps path_tmp name_expr name_site data_path result_path 

global path_DATA

%path_DATA=[getenv('GUPPATH') '/analysed_data/cp-2-e-analysis-990701'];
path_DATA=[getenv('GUPPATH')];
GUP_ver=1.65;
fprintf('GUISDAP v. %4.2f ',GUP_ver);
fprintf('by Markku Lehtinen and Asko Huuskonen\n');
% The Guisdap source directories are in directory
path_GUP=getenv('GUPPATH');
% The GUISDAP experiment directories are in directory
path_exps=[path_GUP,'/exps/'];
% The user can modify the latter e.g. when creating new experiments to say
% path_exps=['/usr/home/tony/exps'];
% define path to temporary storage space
path_tmp=[getenv('TMPDIR'),'/'];
% If environment variable was not found (especially in Macintosh and Windows), use
if length(path_tmp)==1
  path_tmp=[path_GUP,'garbage:'];
end
