Scilab 5.3.0
- Manual Scilab
- call_scilab API
- Boolean management
- Complex management
- DisableInteractiveMode
- Double management
- GetLastJob
- ScilabHaveAGraph
- SendScilabJob
- SendScilabJobs
- StartScilab
- String management
- TerminateScilab
- call_scilab
- Compile and run with Call Scilab
- creadbmat (obsolete)
- creadchain (obsolete)
- creadcmat (obsolete)
- creadmat (obsolete)
- cwritebmat (obsolete)
- cwritechain (obsolete)
- cwritecmat (obsolete)
- cwritemat (obsolete)
- fromc
- fromjava
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
SendScilabJobs
Send Scilab tasks from a C/C++ code (call_scilab)
int SendScilabJobs(char **jobs, int numberjobs);
Description
This fonction is provided in call_scilab. This function send many tasks which will be proccessed by the Scilab engine.
Note that the ending ";" is not mandatory at the end of a command.
Arguments
- jobs
an array of standard C char* containing the Scilab instructions
- numberjobs
The number of the Scilab instructions
- returns
0 is all the operations are successful.
-10 if .
<0 and > -10 when an error occurred in the execution.
Examples
// A simple SendScilabJobs example char* jobs[3]; jobs[0]="a = 1"; jobs[1]="b = 3"; jobs[2]="c = a + b;"; SendScilabJobs(jobs,3); SendScilabJob("disp(c);"); // Will display 4.
See Also
Authors
Sylvestre Ledru
<< SendScilabJob | call_scilab API | StartScilab >> |