<HTML><HEAD>
<META content="text/html; charset=ISO-8859-15" http-equiv=Content-Type></HEAD>
<BODY dir=ltr bgColor=#ffffff text=#000000>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">
<DIV>Hello Jasper,</DIV>
<DIV> </DIV>
<DIV>I was wondering if you could help me with the call_scilab example? Could
you please describe how you got it working? What C compiler are you using? In
which environment?</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Thanks,</DIV>
<DIV>/Mikhail</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<DIV style="FONT: 10pt tahoma">
<DIV> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=jasper@amsterchem.com
href="mailto:jasper@amsterchem.com">jasper van baten</A> </DIV>
<DIV><B>Sent:</B> Tuesday, April 10, 2012 1:10 PM</DIV>
<DIV><B>To:</B> <A title=users@lists.scilab.org
href="mailto:users@lists.scilab.org">users@lists.scilab.org</A> </DIV>
<DIV><B>Subject:</B> Re: [scilab-Users] API_Scilab example</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">Hello
Sylvestre, <BR><BR>I see the call_scilab example, which works fine. <BR><BR>I
would like an example of scilab calling a function implemented in C++. <BR><BR>I
have read the documentation, but I am apparently missing the example. Would you
be so kind to post the URL of the example itself?<BR><BR>Thank you again,
<BR><BR>Best wishes, <BR><BR>Jasper.<BR><BR>On 4/10/2012 18:07, Sylvestre Ledru
wrote:
<BLOCKQUOTE cite=mid:1334074041.10059.4.camel@pomegues.inria.fr type="cite"><PRE wrap="">Hello,
You will find all the information and example in the api_scilab
documentation.
cf:
<A class=moz-txt-link-freetext href="http://help.scilab.org/docs/5.3.3/en_US/api_scilab.html">http://help.scilab.org/docs/5.3.3/en_US/api_scilab.html</A>
Sylvestre
Le mardi 10 avril 2012 à 14:58 +0200, jasper van baten a écrit :
</PRE>
<BLOCKQUOTE type="cite"><PRE wrap="">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:
</PRE>
<BLOCKQUOTE type="cite"><PRE wrap="">Hello,
On 10/04/2012 00:53, Mikhail Matusov wrote:
</PRE>
<BLOCKQUOTE type="cite"><PRE wrap="">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.
</PRE></BLOCKQUOTE><PRE wrap="">api_scilab should be used when you want to add new features into
Scilab based on C/C++ libraries.
The documentation is here:
<A class=moz-txt-link-freetext href="http://help.scilab.org/docs/5.3.3/en_US/api_scilab.html">http://help.scilab.org/docs/5.3.3/en_US/api_scilab.html</A>
If you want to use Scilab as a computing enigne with C/C++, it is
here:
<A class=moz-txt-link-freetext href="http://help.scilab.org/docs/5.3.3/en_US/call_scilab.html">http://help.scilab.org/docs/5.3.3/en_US/call_scilab.html</A>
And from Java:
<A class=moz-txt-link-freetext href="http://help.scilab.org/docs/5.3.3/en_US/javasci.html">http://help.scilab.org/docs/5.3.3/en_US/javasci.html</A>
Sylvestre
</PRE></BLOCKQUOTE></BLOCKQUOTE><PRE wrap=""></PRE></BLOCKQUOTE><A></A>
<P align=left color="#000000" avgcert??>No virus found in this
message.<BR>Checked by AVG - <A
href="http://www.avg.com">www.avg.com</A><BR>Version: 2012.0.2126 / Virus
Database: 2411/4926 - Release Date: 04/10/12</P></DIV></DIV></DIV></BODY></HTML>