2
//[1] call intersci with Makefile
4
V=G_make('ex16fi.c','ex16fi.c');
5
//[2] run the builder generated by intersci.
6
// Since files and libs were nor transmited
7
// to intersci we give them here
8
files = ['ex16fi.o';'ex16c.o'];
10
exec ex16fi_builder.sce
12
//[3] run the loader to load the interface
13
// Note that the file loader.sce
14
// is changed each time you run a demo
15
// if several .desc are present in a directory
18
//[4] test the loaded function
19
//Run Scilab functions:
23
// simple matrix argument
26
if or(b<>~a) then pause,end
28
// matrix and return a matrix in a list
31
if or(b(1)<>~a) then pause,end
33
// new matrix in intersci
36
if or(b<>~a) then pause,end
38
// new matrix returned in a list
41
if or(b(1)<>~a) then pause,end
43
// list argument with a matrix
46
if or(b<>~a) then pause,end
48
// list argument + list output
51
if or(b(1)<>~a) then pause,end
56
if or(b<>[%f,%t;%t,%f;%f,%t]) then pause,end
61
if or(b(1)<>[%f,%t;%t,%f;%f,%t]) then pause,end