6.2.5 The addinter command

Once the interface program is written, it must be compiled to produce an object file. It is then linked to Scilab by the addinter command.

The syntax of addinter is the following:

addinter([`interface.o', 'userfiles.o'],'entrypt',['scifcts'])

Here interface.o is the object file of the interface, userfiles.o is the set of user's routines to be linked, entrypt is the entry point of the interface routine and 'scifcts' is the set of Scilab functions to be interfaced.