Last change
on this file since 23 was
23,
checked in by pinsard, 15 years ago
|
suppression de more on dans le startup
|
-
Property svn:keywords set to
Id
|
File size:
1.6 KB
|
Line | |
---|
1 | % TPACPANDREG_STARTUP initialisation of matlab/octave environment for TPACPANDREG project |
---|
2 | |
---|
3 | %+ |
---|
4 | % |
---|
5 | % module |
---|
6 | % ====== |
---|
7 | % |
---|
8 | % initialisation of matlab/octave environment for TPACPANDREG project |
---|
9 | % |
---|
10 | % DESCRIPTION |
---|
11 | % =========== |
---|
12 | % |
---|
13 | % Detect if either octave or matlab running. |
---|
14 | % |
---|
15 | % Set up help Character Encoding. |
---|
16 | % cf http://www.mathworks.com/access/helpdesk/help/toolbox/simulink/index.html?/access/helpdesk/help/toolbox/simulink/slref/slcharacterencoding.html&http://www.google.fr/search?q=slCharacterEncoding&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a |
---|
17 | % |
---|
18 | % This file can be either run classicaly when currect directory |
---|
19 | % is ${TPACPANDREG} : |
---|
20 | % |
---|
21 | % .. |
---|
22 | % |
---|
23 | % >> tpacpandreg_startup |
---|
24 | % |
---|
25 | % |
---|
26 | % If linked or copy to ./startup.m, it will be automaticaly |
---|
27 | % run by matlab at start. |
---|
28 | % |
---|
29 | % If linked or copy to ${HOME}/.octaverc, it will be automaticaly |
---|
30 | % run by octave at start. |
---|
31 | % |
---|
32 | % SEE ALSO |
---|
33 | % ======== |
---|
34 | % |
---|
35 | % EVOLUTIONS |
---|
36 | % ========== |
---|
37 | % |
---|
38 | % $Id$ |
---|
39 | % |
---|
40 | % - fplod 2009-08-25T10:36:26Z aedon.locean-ipsl.upmc.fr (Darwin) |
---|
41 | % |
---|
42 | % * suppression de ``more on`` (parce que pas pratique pour les étudiants) |
---|
43 | % |
---|
44 | % - fplod 2009-08-21T10:37:54Z aedon.locean-ipsl.upmc.fr (Darwin) |
---|
45 | % |
---|
46 | % * creation |
---|
47 | % |
---|
48 | % TODO |
---|
49 | % ==== |
---|
50 | % |
---|
51 | % Define : |
---|
52 | % - path for matlab/octave commands used in TPACPANDREG project |
---|
53 | % - IO directories in global variables |
---|
54 | % |
---|
55 | % check if set_param(0,'CharacterEncoding','ISO-8859-1') is a better solution |
---|
56 | % than slCharacterEncoding('ISO-8859-1') |
---|
57 | % |
---|
58 | %- |
---|
59 | % |
---|
60 | clear all |
---|
61 | % |
---|
62 | % detect if either octave or matlab running |
---|
63 | if ~ exist('OCTAVE_VERSION','builtin') |
---|
64 | run_octave=0; |
---|
65 | else |
---|
66 | run_octave=1; |
---|
67 | end |
---|
68 | % |
---|
69 | if (run_octave == 0) |
---|
70 | % to display help written in ISO-LATIN |
---|
71 | slCharacterEncoding('ISO-8859-1'); |
---|
72 | end |
---|
73 | % |
---|
Note: See
TracBrowser
for help on using the repository browser.