Changeset 14


Ignore:
Timestamp:
12/22/08 14:41:06 (15 years ago)
Author:
pinsard
Message:

introducing octave

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/ircaam_startup.m

    r13 r14  
    11%+ 
     2% ginette éééé 
    23% 
    34% module 
     
    2324% run by matlab at start. 
    2425% 
     26% If linked or copy to ${HOME}/.octaverc, it will be automaticaly 
     27% run by octave at start. 
     28% 
    2529% SEE ALSO 
    2630% ======== 
     
    3438% 
    3539% $Id$ 
     40% 
     41% - fplod 2008-12-22T13:24:38Z aedon.locean-ipsl.upmc.fr (Darwin) 
     42% 
     43%   * add detection of either matlab or octave running 
    3644% 
    3745% - fplod 2008-12-22T09:38:20Z zeus.locean-ipsl.upmc.fr (Linux) 
     
    7482end 
    7583% 
     84% detect if either octave or matlab running 
     85cversion=version(); 
     86if cversion(1:1) < '7' 
     87 run_octave=1; 
     88else 
     89 run_octave=0; 
     90end 
     91% 
     92if (run_octave == 0) 
     93 % to display help written in ISO-LATIN 
     94 slCharacterEncoding('ISO-8859-1'); 
     95end 
     96% 
    7697more on 
Note: See TracChangeset for help on using the changeset viewer.