<html>
<head>
<meta content="text/html; charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
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>
</body>
</html>