1
//1-Creating interface source file (matusr.f)
2
// from ex9fi.desc file by call to intersci
4
// Interface file '/tmp/ex9fi.o'
5
// User's files '/tmp/ex9f.o';
6
files=G_make(['/tmp/ex9fi.o','/tmp/ex9f.o'],'ex9.dll');
7
//2-Link object files .o with addinter
8
//addinter(files,'ex9fi',matusr_funs);
10
//Test Scilab functions:
11
//calc7: function with two optional values, a string and a scilab variable.
12
bb=33; //scilab optional variable
14
if c<>'toto' then pause,end
15
if norm(d-[2,4,6,8])> %eps then pause,end
16
if b<>bb then pause,end