Changeset 11538


Ignore:
Timestamp:
02/24/12 18:31:39 (13 years ago)
Author:
Eric.Larour
Message:

Back to previous startup, with some windows flavor still

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/startup.m

    r11492 r11538  
    2626
    2727%ISSM path
    28 addpath(pwd); %add current path first
     28addpath([ISSM_TIER '/src/m/utils/']); %loads recursivepath
     29addpath([ISSM_TIER '/doc']);
     30addpath([ISSM_TIER '/bin']);
     31addpath(recursivepath([ISSM_TIER '/src/m']));
     32addpath(recursivepath([ISSM_TIER '/externalpackages/scotch']));
     33addpath(recursivepath([ISSM_TIER '/externalpackages/canos']));
     34addpath(recursivepath([ISSM_TIER '/externalpackages/kml']));
     35addpath(recursivepath([ISSM_TIER '/externalpackages/googleearthtoolbox/']));
     36addpath(recursivepath([ISSM_TIER '/externalpackages/export_fig']));
    2937
    30 if exist([ISSM_TIER '/src/m/utils/'],'dir'),
    31         addpath([ISSM_TIER '/src/m/utils/']); %loads recursivepath
    32 end
    33 if exist([ISSM_TIER '/doc'],'dir'),
    34         addpath([ISSM_TIER '/doc']);
    35 end
    36 if exist([ISSM_TIER '/bin'],'dir'),
    37         addpath([ISSM_TIER '/bin']);
    38 end
    39 if exist([ISSM_TIER '/src/m'],'dir'),
    40         addpath(recursivepath([ISSM_TIER '/src/m']));
    41 end
    42 if exist([ISSM_TIER '/externalpackages/scotch'],'dir'),
    43         addpath(recursivepath([ISSM_TIER '/externalpackages/scotch']));
    44 end
    45 if exist([ISSM_TIER '/externalpackages/canos'],'dir'),
    46         addpath(recursivepath([ISSM_TIER '/externalpackages/canos']));
    47 end
    48 if exist([ISSM_TIER '/externalpackages/kml'],'dir'),
    49         addpath(recursivepath([ISSM_TIER '/externalpackages/kml']));
    50 end
    51 if exist([ISSM_TIER '/externalpackages/googleearthtoolbox/'],'dir'),
    52         addpath(recursivepath([ISSM_TIER '/externalpackages/googleearthtoolbox/']));
    53 end
    54 if exist([ISSM_TIER '/externalpackages/export_fig'],'dir'),
    55         addpath(recursivepath([ISSM_TIER '/externalpackages/export_fig']));
    56 end
    5738clear ISSM_TIER;
    5839
     
    8667% no warning if we try to plot while in nojvm (will not be supported in future releases)
    8768warning 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         end
    96 end
Note: See TracChangeset for help on using the changeset viewer.