Home > eeg > egis > COG_startup.m

COG_startup

PURPOSE ^

status = COG_startup(bel_matlab_path)

SYNOPSIS ^

function status = COG_startup(bel_matlab_path)

DESCRIPTION ^

status = COG_startup(bel_matlab_path)

gives you access to standard m files available for PPC on COG

written by RS on 10/9/95

modified by PJ on 1/18/96 -- user may now specify path leading up to bel_matlab
structure
        Script should now be portable accross the machines we use without
needing to
        modify the entire path structure each time

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function status = COG_startup(bel_matlab_path)
0002 %status = COG_startup(bel_matlab_path)
0003 %
0004 %gives you access to standard m files available for PPC on COG
0005 %
0006 %written by RS on 10/9/95
0007 %
0008 %modified by PJ on 1/18/96 -- user may now specify path leading up to bel_matlab
0009 %structure
0010 %        Script should now be portable accross the machines we use without
0011 %needing to
0012 %        modify the entire path structure each time
0013 %
0014 
0015 %  check to see if user has specified a path
0016 exist('bel_matlab_path')
0017 if ~exist('bel_matlab_path')
0018   if findstr(computer,'MAC')
0019     bel_matlab_path = 'COG:Shared:MATLAB:';        % default to COG directory if
0020 %Mac is detected
0021   else
0022     bel_matlab_path = '/net/hebb/external2/ext2/users/exports/matlab/';    %
0023 %assume user is on Darkwing
0024   end
0025 end
0026 
0027 path(path, bel_matlab_path);
0028 path(path,[bel_matlab_path 'egis_file_utils']);
0029 path(path,[bel_matlab_path 'data_utils']);
0030 path(path,[bel_matlab_path 'scripts']);
0031 path(path,[bel_matlab_path 'misc_utils']);
0032 path(path,[bel_matlab_path 'ppc_utils']);
0033 path(path,[bel_matlab_path 'net_utils']);
0034 path(path,[bel_matlab_path 'meg_code']);
0035 path(path,[bel_matlab_path 'spline']);
0036 path(path,[bel_matlab_path 'phantom']);
0037 path(path,[bel_matlab_path 'permute']);
0038 status = 1;
0039 
0040 
0041 
0042 
0043 
0044 
0045

Generated on Sat 24-Aug-2019 04:00:39 by m2html © 2003