Changeset 11538
- Timestamp:
- 02/24/12 18:31:39 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/startup.m
r11492 r11538 26 26 27 27 %ISSM path 28 addpath(pwd); %add current path first 28 addpath([ISSM_TIER '/src/m/utils/']); %loads recursivepath 29 addpath([ISSM_TIER '/doc']); 30 addpath([ISSM_TIER '/bin']); 31 addpath(recursivepath([ISSM_TIER '/src/m'])); 32 addpath(recursivepath([ISSM_TIER '/externalpackages/scotch'])); 33 addpath(recursivepath([ISSM_TIER '/externalpackages/canos'])); 34 addpath(recursivepath([ISSM_TIER '/externalpackages/kml'])); 35 addpath(recursivepath([ISSM_TIER '/externalpackages/googleearthtoolbox/'])); 36 addpath(recursivepath([ISSM_TIER '/externalpackages/export_fig'])); 29 37 30 if exist([ISSM_TIER '/src/m/utils/'],'dir'),31 addpath([ISSM_TIER '/src/m/utils/']); %loads recursivepath32 end33 if exist([ISSM_TIER '/doc'],'dir'),34 addpath([ISSM_TIER '/doc']);35 end36 if exist([ISSM_TIER '/bin'],'dir'),37 addpath([ISSM_TIER '/bin']);38 end39 if exist([ISSM_TIER '/src/m'],'dir'),40 addpath(recursivepath([ISSM_TIER '/src/m']));41 end42 if exist([ISSM_TIER '/externalpackages/scotch'],'dir'),43 addpath(recursivepath([ISSM_TIER '/externalpackages/scotch']));44 end45 if exist([ISSM_TIER '/externalpackages/canos'],'dir'),46 addpath(recursivepath([ISSM_TIER '/externalpackages/canos']));47 end48 if exist([ISSM_TIER '/externalpackages/kml'],'dir'),49 addpath(recursivepath([ISSM_TIER '/externalpackages/kml']));50 end51 if exist([ISSM_TIER '/externalpackages/googleearthtoolbox/'],'dir'),52 addpath(recursivepath([ISSM_TIER '/externalpackages/googleearthtoolbox/']));53 end54 if exist([ISSM_TIER '/externalpackages/export_fig'],'dir'),55 addpath(recursivepath([ISSM_TIER '/externalpackages/export_fig']));56 end57 38 clear ISSM_TIER; 58 39 … … 86 67 % no warning if we try to plot while in nojvm (will not be supported in future releases) 87 68 warning off MATLAB:HandleGraphics:noJVM 88 89 %at the end, get to tests directory if ISSM_TESTS exists:90 if ispc,91 addpath([pwd '\bin']);92 ISSM_TESTS=getenv('ISSM_TESTS');93 if ~isempty(ISSM_TESTS),94 cd(ISSM_TESTS);95 end96 end
Note:
See TracChangeset
for help on using the changeset viewer.