<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello Sylvestre, <br>
<br>
Can you outline how to call a C (or C++) function from Scilab?
(what intersci used to do...)<br>
<br>
That is, suppose I have a C++ function Plus2:<br>
<br>
double Plus2(double arg) {return arg+2.0;}<br>
<br>
How can I use that from the Scilab command line?<br>
<br>
Thanks,<br>
<br>
Jasper.<br>
<br>
On 4/10/2012 08:28, Sylvestre Ledru wrote:
<blockquote cite="mid:4F83D304.5030008@scilab-enterprises.com"
type="cite">Hello,
<br>
On 10/04/2012 00:53, Mikhail Matusov wrote:
<br>
<blockquote type="cite">Hi all,
<br>
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.
<br>
<br>
</blockquote>
api_scilab should be used when you want to add new features into
Scilab based on C/C++ libraries.
<br>
The documentation is here:
<br>
<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>
<br>
<br>
If you want to use Scilab as a computing enigne with C/C++, it is
here:
<br>
<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>
<br>
And from Java:
<br>
<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>
<br>
<br>
Sylvestre
<br>
<br>
<br>
<br>
<br>
</blockquote>
</body>
</html>