Changeset 24 for trunk/src/ircaam_startup.m
- Timestamp:
- 01/07/09 16:49:58 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/ircaam_startup.m
r16 r24 22 22 % 23 23 % 24 % If linked or copy to ${HOME}/startup.m, it will be automaticaly24 % If linked or copy to ./startup.m, it will be automaticaly 25 25 % run by matlab at start. 26 26 % … … 39 39 % 40 40 % $Id$ 41 % 42 % - fplod 2009-01-07T11:12:31Z aedon.locean-ipsl.upmc.fr (Darwin) 43 % 44 % * add indice_flore directory to path 45 % * more elegant way to know if eithe octave or matlab is running 46 % thanks to http://enacit1.epfl.ch/cours_matlab/mfiles.html#scripts 41 47 % 42 48 % - fplod 2008-12-22T13:24:38Z aedon.locean-ipsl.upmc.fr (Darwin) … … 69 75 addpath([ircaam '/mode_sahelien/']); 70 76 addpath([ircaam '/SIMULS_IRCAAM/']); 77 addpath([ircaam '/indice_flore/']); 71 78 % 72 79 % IO directories … … 84 91 % 85 92 % detect if either octave or matlab running 86 cversion=version(); 87 if cversion(1:1) < '7' 93 if ~ exist('OCTAVE_VERSION') 94 run_octave=0; 95 else 88 96 run_octave=1; 89 else90 run_octave=0;91 97 end 92 98 %
Note: See TracChangeset
for help on using the changeset viewer.