~ubuntu-branches/ubuntu/karmic/scilab/karmic

« back to all changes in this revision

Viewing changes to examples/README

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2002-03-21 16:57:43 UTC
  • Revision ID: james.westby@ubuntu.com-20020321165743-e9mv12c1tb1plztg
Tags: upstream-2.6
ImportĀ upstreamĀ versionĀ 2.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
You will find in this directory 
 
2
 
 
3
[1] A description of the interface library through examples in:
 
4
 
 
5
        interface-tour-so:
 
6
        interface-tour:
 
7
 
 
8
    The two previous directories differs in the way unix shared 
 
9
    library are created. 
 
10
    -In the intersci-examples-so, shared libaries are produced by a tool 
 
11
    called libtool (which is configured and instaled with Scilab). 
 
12
    and Scilab only load the shared libraries. 
 
13
 
 
14
    -In the intersci-examples, source files are compiled to object files
 
15
    and the list of object files is transmited to Scilab. Given the 
 
16
    object files Scilab builds the shared library. 
 
17
 
 
18
    Considering portability issues, we encourage people to use the 
 
19
    first method. 
 
20
    
 
21
    Note also that the presented examples should run out of the box 
 
22
    on Unix and on Windows (with VisualC++). 
 
23
 
 
24
[2] A small example extracted form [1] but covering the same features:
 
25
        
 
26
        interface-tutorial:
 
27
        interface-tutorial-so:
 
28
 
 
29
[3] A small example devoted to lapcak interfacing 
 
30
 
 
31
        interface-lapack:
 
32
 
 
33
 
 
34
[4] intersci can be used to generate interfaces presented in the 
 
35
    previous section:
 
36
 
 
37
        intersci-examples-so
 
38
        intersci-examples
 
39
 
 
40
    intersci is an interface generator: two versions coexists 
 
41
    an old one presented in intersci-examples and a new one 
 
42
    presented in intersci-examples-so. 
 
43
    The new one generate code compatible with examples 
 
44
    presented in sections [1][2][3]. 
 
45
 
 
46
[5] Matlab users are familiar with mex-files. 
 
47
    interfaces writen in the mex file philosophy are 
 
48
    presented in 
 
49
 
 
50
        mex-examples
 
51
 
 
52
[6] dynamic linking is presented in 
 
53
 
 
54
        link-examples 
 
55
        link-examples-so
 
56
        misc-examples 
 
57
 
 
58
[7] How to organize a macro library is presented in 
 
59
 
 
60
        macros-examples
 
61
 
 
62
[8] How to add your own manual sections is presented in 
 
63
 
 
64
        man-examples
 
65
 
 
66
[9] How to call scilab from an other program is explained in 
 
67
        
 
68
        callsci
 
69
 
 
70
 
 
71
Note: 
 
72
 
 
73
Some examples require a Fortran compiler. It may be necessary to
 
74
modify the file "../Makefile.incl" to set the good Fortran compiler in
 
75
variable FC.
 
76