<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[C++ Programm [call_scilab]]]></title><description><![CDATA[<p>Hallo zusammen,</p>
<p>folgendes Problem:</p>
<p>Ich möchte mit meinem C++-Programm (DevC++) Berechnungen an SciLab auslagern und möchte daher über &quot;call_scilab&quot; das Programm aufrufen.</p>
<p>den untenstehenden Code kann ich ohne Fehler kompilieren, jedoch erhalte ich beim Ausführen die Fehlermeldung:</p>
<p>&quot;Das Programm kann nicht gestartet werden, da call_scilab.dll auf dem Computer fehlt. Installieren Sie das Programm erneut, um das Problem zu beheben.&quot;</p>
<p>Ich habe über Projektoptionen direkt auf diese Datei verlinkt (ist also vorhanden) - sucht der beim Ausführen noch wo anders? hab ich Verlinkungen vergessen? Danke für eure Hilfe!</p>
<pre><code>// SCILAB AUFRUFEN
#include &lt;stdio.h&gt;

#include &quot;stack-c.h&quot; /* Provide functions to access to the memory of Scilab */
#include &quot;call_scilab.h&quot; /* Provide functions to call Scilab engine */

int main(void)
{
/****** INITIALIZATION **********/
#ifdef _MSC_VER
 if ( StartScilab(NULL,NULL,NULL) == FALSE )
#else
 if ( StartScilab(getenv(&quot;SCI&quot;),NULL,NULL) == FALSE )
#endif
  {
   fprintf(stderr,&quot;Error while calling StartScilab\n&quot;);
   return -1;
  }

/****** ACTUAL Scilab TASKS *******/

 SendScilabJob(&quot;myMatrix=['sample','for the help']&quot;);
 SendScilabJob(&quot;disp(myMatrix);&quot;); // Will display !sample  for the help  !
 SendScilabJob(&quot;disp([2,3]+[-44,39]);&quot;); // Will display   - 42.    42.  

/****** TERMINATION **********/
 if ( TerminateScilab(NULL) == FALSE ) {
  fprintf(stderr,&quot;Error while calling TerminateScilab\n&quot;);
  return -2;
 }
 return 0;
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/topic/331198/c-programm-call_scilab</link><generator>RSS for Node</generator><lastBuildDate>Fri, 01 May 2026 22:19:51 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/331198.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 16 Feb 2015 12:32:21 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to C++ Programm [call_scilab] on Mon, 16 Feb 2015 12:32:21 GMT]]></title><description><![CDATA[<p>Hallo zusammen,</p>
<p>folgendes Problem:</p>
<p>Ich möchte mit meinem C++-Programm (DevC++) Berechnungen an SciLab auslagern und möchte daher über &quot;call_scilab&quot; das Programm aufrufen.</p>
<p>den untenstehenden Code kann ich ohne Fehler kompilieren, jedoch erhalte ich beim Ausführen die Fehlermeldung:</p>
<p>&quot;Das Programm kann nicht gestartet werden, da call_scilab.dll auf dem Computer fehlt. Installieren Sie das Programm erneut, um das Problem zu beheben.&quot;</p>
<p>Ich habe über Projektoptionen direkt auf diese Datei verlinkt (ist also vorhanden) - sucht der beim Ausführen noch wo anders? hab ich Verlinkungen vergessen? Danke für eure Hilfe!</p>
<pre><code>// SCILAB AUFRUFEN
#include &lt;stdio.h&gt;

#include &quot;stack-c.h&quot; /* Provide functions to access to the memory of Scilab */
#include &quot;call_scilab.h&quot; /* Provide functions to call Scilab engine */

int main(void)
{
/****** INITIALIZATION **********/
#ifdef _MSC_VER
 if ( StartScilab(NULL,NULL,NULL) == FALSE )
#else
 if ( StartScilab(getenv(&quot;SCI&quot;),NULL,NULL) == FALSE )
#endif
  {
   fprintf(stderr,&quot;Error while calling StartScilab\n&quot;);
   return -1;
  }

/****** ACTUAL Scilab TASKS *******/

 SendScilabJob(&quot;myMatrix=['sample','for the help']&quot;);
 SendScilabJob(&quot;disp(myMatrix);&quot;); // Will display !sample  for the help  !
 SendScilabJob(&quot;disp([2,3]+[-44,39]);&quot;); // Will display   - 42.    42.  

/****** TERMINATION **********/
 if ( TerminateScilab(NULL) == FALSE ) {
  fprintf(stderr,&quot;Error while calling TerminateScilab\n&quot;);
  return -2;
 }
 return 0;
}
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/2442952</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2442952</guid><dc:creator><![CDATA[Mgx]]></dc:creator><pubDate>Mon, 16 Feb 2015 12:32:21 GMT</pubDate></item><item><title><![CDATA[Reply to C++ Programm [call_scilab] on Mon, 16 Feb 2015 12:46:42 GMT]]></title><description><![CDATA[<p>DLLs werden so gesucht:</p>
<p>1. Das Verzeichnis, in dem sich das ausführbare Modul des aktuellen Prozesses befindet.</p>
<p>2. Das aktuelle Verzeichnis.</p>
<p>3. Das Systemverzeichnis von Windows. Der Pfad für dieses Verzeichnis wird durch die GetSystemDirectory-Funktion abgerufen.</p>
<p>4. Das Windows-Verzeichnis. Der Pfad für dieses Verzeichnis wird durch die GetWindowsDirectory-Funktion abgerufen.</p>
<p>5. Die in der PATH-Umgebungsvariablen aufgeführten Verzeichnisse.</p>
<p>Quelle: <a href="https://msdn.microsoft.com/de-de/library/7d83bc18.aspx" rel="nofollow">https://msdn.microsoft.com/de-de/library/7d83bc18.aspx</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2442955</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2442955</guid><dc:creator><![CDATA[manni66]]></dc:creator><pubDate>Mon, 16 Feb 2015 12:46:42 GMT</pubDate></item><item><title><![CDATA[Reply to C++ Programm [call_scilab] on Mon, 16 Feb 2015 13:51:15 GMT]]></title><description><![CDATA[<p>Nachdem ich alle notwendigen DLL-Files in den C-Programm-Ordner verschoben habe gibt es die neue Fehlermeldung..</p>
<p>&quot;scilab cannot create scilab java main-class&quot;</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2442961</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2442961</guid><dc:creator><![CDATA[Mgx]]></dc:creator><pubDate>Mon, 16 Feb 2015 13:51:15 GMT</pubDate></item></channel></rss>