Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.4.1 - 日本語

Change language to:
English - Français - Português - Русский

Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function

Scilab help >> call_scilab API > SendScilabJobs

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

  • Call_Scilab — call_scilab is an interface which provides the ability to call Scilab engine from C/C++ code
  • api Scilab — api_scilab is the Scilab interface to read/write data from/to Scilab memory
  • SendScilabJob — Send a Scilab task from a C/C++ code (call_scilab)
  • Compile and run with call_scilab — How to compile a native application based on or using 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
<< SendScilabJob call_scilab API StartScilab >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Tue Apr 02 17:37:35 CEST 2013