Scilab 5.3.3
- Scilab help
- call_scilab API (Scilab engine)
- 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
Scilab help >> call_scilab API (Scilab engine) > GetLastJob
GetLastJob
Returns the latest job sent to Scilab engine
BOOL GetLastJob(char *JOB,int nbcharsJOB);
Description
This fonction returns the latest job sent to Scilab engine with the command SendScilabJob or SendScilabJobs. This can be used to display a command which failed.
BOOL is just a simple typedef on int (typedef int
BOOL). TRUE is defined on 1 (#define TRUE 1)
and FALSE is defined on 0 (#define FALSE 0).
Arguments
- JOB
a standard C char* which will be filled with the latest job
- nbcharsJOB
The number of char of JOB
- returns
1 (TRUE) if the operation is successfull.
0 (FALSE) if an error during initialization occured.
Examples
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
- 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)
- TerminateScilab — Stops and terminates Scilab engine in 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
Authors
Sylvestre Ledru
| << Double management | call_scilab API (Scilab engine) | ScilabHaveAGraph >> |