Scilab 6.0.0
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
SendScilabJob
Send a Scilab task from a C/C++ code (call_scilab)
int SendScilabJob(char *job);
Description
This fonction is provided in call_scilab. This function send a task which will be processed by the Scilab engine.
Arguments
- job
a standard C char* containing the Scilab instructions
- returns
0 is the operation is successful.
-1 if Call Scilab has not been able to write the job into Scilab.
-2 or -3 if Call Scilab has not been able to read the error code from Scilab.
-4 if Call Scilab has not been able to allocate the job.
Examples
// A simple SendScilabJob example if (SendScilabJob("disp('unfinished quote)")!=0){ // This will fail printf("An error occurred\n"); } SendScilabJob("myMatrix=['sample','for the help']");
See also
- Call_Scilab — call_scilabは, C/C++コードからScilabエンジンをコールする機能を提供する インターフェイスです.
- Compile and run with call_scilab — How to compile a native application based on or using Scilab
- SendScilabJob — Send a Scilab task from a C/C++ code (call_scilab)
- Double Management — How to manage Scilab's variable read and write process using call_scilab and api_scilab
- Boolean Management — How to manage Scilab's boolean read and write process using call_scilab and api_scilab
- Complex Management — How to manage Scilab's complex variable read and write process using call_scilab
- String Management — How to manage Scilab's String read and write process using call_scilab and api_scilab
Report an issue | ||
<< ScilabHaveAGraph | call_scilab API | SendScilabJobs >> |