- Scilab Online Help
- 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
TerminateScilab
Stops and terminates Scilab engine in Call Scilab
BOOL TerminateScilab(char *ScilabQuit);
Description
This fonction stops the Scilab engine. It is strongly recommanded to call this function at the end when using Call Scilab .
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
- ScilabQuit
a standard C char* containing the path to Scilab quit script (scilab.quit)
If ScilabStartup is NULL, Scilab will use the default path (detected from SCIpath).
- returns
1 (TRUE) if the operation is successfull.
0 (FALSE) if an error during initialization occured.
Examples
// A simple TerminateScilab example if ( TerminateScilab(NULL) == FALSE ) { fprintf(stderr,"Error while calling TerminateScilab\n"); return -2; }
See Also
Authors
Sylvestre Ledru
<< String management | call_scilab API | call_scilab >> |