Changeset 15750


Ignore:
Timestamp:
08/08/13 09:41:32 (12 years ago)
Author:
Mathieu Morlighem
Message:

CHG: simplifying startup.m

File:
1 edited

Legend:

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

    r14305 r15750  
    1616else
    1717        ISSM_DIR=getenv('ISSM_DIR_WIN');
    18         %ISSM_DIR='';
    1918end
    2019if (isempty(ISSM_DIR)),
     
    2726
    2827%ISSM path
    29 addpath([ISSM_DIR '/src/m/os/']); %loads recursivepath
    30 addpath([ISSM_DIR '/bin']);
    31 addpath([ISSM_DIR '/lib']);
     28addpath([ISSM_DIR '/src/m/os/']); %load recursivepath
     29addpath([ISSM_DIR '/lib']);       %load mex
    3230addpath(recursivepath([ISSM_DIR '/src/m']));
    3331addpath(recursivepath([ISSM_DIR '/externalpackages/scotch']));
     
    3735addpath(recursivepath([ISSM_DIR '/externalpackages/googleearthtoolbox']));
    3836addpath(recursivepath([ISSM_DIR '/externalpackages/howatmask']));
    39 addpath(recursivepath([ISSM_DIR '/externalpackages/cm_and_cb_utilities']));
    4037addpath(recursivepath([ISSM_DIR '/externalpackages/dem']));
    41 
    4238clear ISSM_DIR;
    4339
     
    5046end
    5147
    52 %  deal with Matlab bug (on Linux, not WinXP) -- unless
    53 %  the class has been called, "empty" method can not be found
    54 if ~ispc,
    55         normal_uncertain;
    56         continuous_design;
    57         continuous_state;
    58         linear_inequality_constraint;
    59         linear_equality_constraint;
    60         response_function;
    61         objective_function;
    62         least_squares_term;
    63         nonlinear_inequality_constraint;
    64         nonlinear_equality_constraint;
    65         clear ans;
    66 end
    67 
    6848%disable matlab bell!
    6949beep off;
    70 
    71 % no warning if we try to plot while in nojvm (will not be supported in future releases)
    72 warning off MATLAB:HandleGraphics:noJVM
Note: See TracChangeset for help on using the changeset viewer.