source: trunk/src/ircaam_startup.m @ 13

Last change on this file since 13 was 13, checked in by pinsard, 16 years ago

remove identical files. one of the issue is put on top directory

  • 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%
46clear all
47%
48disp(['iii : adding path to IRCAAM matlab tools'])
49%
50% test if IRCAAM environment set
51ircaam=getenv('IRCAAM');
52if [ isempty(ircaam) ]
53 error('eee : IRCAAM environment not set');
54else
55 disp(['iii : IRCAAM =' ircaam])
56end
57%
58% add path
59addpath(ircaam);
60addpath([ircaam '/mode_sahelien/']);
61addpath([ircaam '/SIMULS_IRCAAM/']);
62%
63% IO directories
64% test if IRCAAM_ID environment set
65ircaam_id=getenv('IRCAAM_ID');
66if [ isempty(ircaam_id) ]
67 error('eee : IRCAAM_ID environment not set');
68end
69%
70% test if IRCAAM_OD environment set
71ircaam_od=getenv('IRCAAM_OD');
72if [ isempty(ircaam_od) ]
73 error('eee : IRCAAM_OD environment not set');
74end
75%
76more on
Note: See TracBrowser for help on using the repository browser.