Last change
on this file since 12 was
12,
checked in by pinsard, 15 years ago
|
add matlab startup
|
-
Property svn:keywords set to
Id
|
File size:
1.3 KB
|
Line | |
---|
1 | %+ |
---|
2 | % |
---|
3 | % module |
---|
4 | % ====== |
---|
5 | % |
---|
6 | % initialisation of matlab/octave environment for IRCAAM project |
---|
7 | % |
---|
8 | % DESCRIPTION |
---|
9 | % =========== |
---|
10 | % |
---|
11 | % Define : |
---|
12 | % - path for matlab/octave commands used in IRCAAM project |
---|
13 | % - IO directories |
---|
14 | % |
---|
15 | % This file can be either run classicaly when currect directory |
---|
16 | % is ${IRCAAM} : |
---|
17 | % .. |
---|
18 | % |
---|
19 | % >> ircaam_startup |
---|
20 | % |
---|
21 | % |
---|
22 | % If linked or copy to ${HOME}/startup.m, it will be automaticaly |
---|
23 | % run by matlab at start. |
---|
24 | % |
---|
25 | % SEE ALSO |
---|
26 | % ======== |
---|
27 | % |
---|
28 | % ircaam_profile.sh_ |
---|
29 | % |
---|
30 | % .. _ircaam_profile.sh : ircaam_profile.sh.html |
---|
31 | % |
---|
32 | % EVOLUTIONS |
---|
33 | % ========== |
---|
34 | % |
---|
35 | % $Id$ |
---|
36 | % |
---|
37 | % - fplod 2008-12-22T09:38:20Z zeus.locean-ipsl.upmc.fr (Linux) |
---|
38 | % |
---|
39 | % * creation |
---|
40 | % |
---|
41 | % TODO |
---|
42 | % ==== |
---|
43 | % |
---|
44 | %- |
---|
45 | % |
---|
46 | clear all |
---|
47 | % |
---|
48 | disp(['iii : adding path to IRCAAM matlab tools']) |
---|
49 | % |
---|
50 | % test if IRCAAM environment set |
---|
51 | ircaam=getenv('IRCAAM'); |
---|
52 | if [ isempty(ircaam) ] |
---|
53 | error('eee : IRCAAM environment not set'); |
---|
54 | else |
---|
55 | disp(['iii : IRCAAM =' ircaam]) |
---|
56 | end |
---|
57 | % |
---|
58 | % add path |
---|
59 | addpath([ircaam '/mode_sahelien/']); |
---|
60 | addpath([ircaam '/SIMULS_IRCAAM/']); |
---|
61 | % |
---|
62 | % IO directories |
---|
63 | % test if IRCAAM_ID environment set |
---|
64 | ircaam_id=getenv('IRCAAM_ID'); |
---|
65 | if [ isempty(ircaam_id) ] |
---|
66 | error('eee : IRCAAM_ID environment not set'); |
---|
67 | end |
---|
68 | % |
---|
69 | % test if IRCAAM_OD environment set |
---|
70 | ircaam_od=getenv('IRCAAM_OD'); |
---|
71 | if [ isempty(ircaam_od) ] |
---|
72 | error('eee : IRCAAM_OD environment not set'); |
---|
73 | end |
---|
74 | % |
---|
75 | more on |
---|
Note: See
TracBrowser
for help on using the repository browser.