[scilab-Users] API_Scilab example

Sylvestre Ledru sylvestre.ledru at scilab-enterprises.com
Tue Apr 10 18:07:21 CEST 2012


Hello,

You will find all the information and example in the api_scilab
documentation.
cf:
http://help.scilab.org/docs/5.3.3/en_US/api_scilab.html

Sylvestre

Le mardi 10 avril 2012 à 14:58 +0200, jasper van baten a écrit :
> Hello Sylvestre, 
> 
> Can you outline how to call a C (or C++)  function from Scilab? (what
> intersci used to do...)
> 
> That is, suppose I have a C++ function Plus2:
> 
> double Plus2(double arg) {return arg+2.0;}
> 
> How can I use that from the Scilab command line?
> 
> Thanks,
> 
> Jasper.
> 
> On 4/10/2012 08:28, Sylvestre Ledru wrote: 
> > Hello, 
> > On 10/04/2012 00:53, Mikhail Matusov wrote: 
> > > Hi all, 
> > > Can someone please point me to a simple example of how to use the
> > > API_Scilab? I am looking for ability to call SciLab functions from
> > > C, not the other way around. 
> > > 
> > api_scilab should be used when you want to add new features into
> > Scilab based on C/C++ libraries. 
> > The documentation is here: 
> > http://help.scilab.org/docs/5.3.3/en_US/api_scilab.html 
> > 
> > If you want to use Scilab as a computing enigne with C/C++, it is
> > here: 
> > http://help.scilab.org/docs/5.3.3/en_US/call_scilab.html 
> > And from Java: 
> > http://help.scilab.org/docs/5.3.3/en_US/javasci.html 
> > 
> > Sylvestre 
> > 
> > 
> > 
> > 

-- 
-----------------------------
Sylvestre Ledru
Operation manager
Community manager
-----------------------------
Scilab Enterprises
http://www.scilab-enterprises.com/
http://www.scilab.org/
-----------------------------




More information about the users mailing list