Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
2025.0.0 - Français


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 >>

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:
Thu Oct 24 11:15:55 CEST 2024