[Scilab-users] C gateway with scilab api

Pierre Vuillemin contact at pierre-vuillemin.fr
Tue Mar 28 22:20:32 CEST 2017


Hi all,

I'm trying to call some C code from Scilab. To understand how the scilab 
api is working, I've tried to reproduce the example described here:

https://help.scilab.org/docs/6.0.0/fr_FR/api_scilab_getting_started.html

but it does not work for me. The command

[c,  d]  =  foo6([2,%pi],  [%t,  %f])

displays an error saying that the number of input arguments is wrong, 2 
arguments are expected:

foo6 : Nombre erroné d'argument(s) d'entrée : 2 attendu(s).


Is there an issue in the example or am I missing something? Besides, I 
have experienced a lot of seg fault in the process: is the API or this 
version of Scilab still quite experimental?


NB: I am using Scilab 6 on Ubuntu 16.04.


Best regards,


Pierre



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20170328/8d0ccbcb/attachment.htm>


More information about the users mailing list