getscilabmode
returns scilab mode
Syntax
m = getscilabmode() [m, c] = getscilabmode()
[m, c] = getscilabmode()
Description
Returns Scilab modes. 3 execution modes are possible: "STD", "NW", "NWNI".
"STD": the standard Scilab (desktop, gui, plot ...).
"NW": Scilab in command line with the plots.
"NWNI": Scilab in command line without any graphics.
Returns a 2nd argument for caller modes.
"PROGRAM": launched as a regular program.
"API": launched through an API.
Examples
getscilabmode()
--> getscilabmode() ans = "STD"
See also
- fromc — Checks if current Scilab is called from an external C program (by StartScilab).
- fromjava — Checks if current Scilab is called from javasci
- istssession — Determines if scilab is launched from a ms terminal service session (Windows only)
- scilab — run command or file in another Scilab
| Report an issue | ||
| << getos | Configuration | getshell >> |