Changeset 10972


Ignore:
Timestamp:
11/29/11 16:22:15 (13 years ago)
Author:
Mathieu Morlighem
Message:

correction: do not load user's specific directory anymore. This should be done in the matlab alias

File:
1 edited

Legend:

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

    r10940 r10972  
    1111lastwarn('');
    1212
    13 %Recover ISSM_TIER and USERNAME
     13%Recover ISSM_TIER
    1414ISSM_TIER=getenv('ISSM_TIER');
    15 USERNAME =getenv('USER');
    1615if (isempty(ISSM_TIER)),
    1716        error('issmdir error message: ''ISSM_TIER'' environment variable is empty! You should define ISSM_TIER in your .cshrc or .bashrc!');
     
    3231addpath(recursivepath([ISSM_TIER '/externalpackages/googleearthtoolbox/']));
    3332addpath(recursivepath([ISSM_TIER '/externalpackages/export_fig']));
     33clear ISSM_TIER;
    3434
    3535%Check on any warning messages that might indicate that the paths were not correct.
     
    5555clear ans;
    5656
    57 %Now, load personal startup preferences, using the local user name:
    58 rmpath(recursivepath([ISSM_TIER '/src/m/usr']));
    59 if exist([ISSM_TIER '/src/m/usr/' USERNAME],'dir'),
    60         addpath(recursivepath([ISSM_TIER '/src/m/usr/' USERNAME]));
    61 end
    62 
    63 clear USERNAME ISSM_TIER;
    64 
    6557%disable matlab bell!
    6658beep off;
     59
    6760% no warning if we try to plot while in nojvm (will not be supported in future releases)
    6861warning off MATLAB:HandleGraphics:noJVM
Note: See TracChangeset for help on using the changeset viewer.