Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.0.2 - English

Change language to:
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 >> Scilab

Scilab

  • Scilab keywords
    • backslash(\) left matrix division.
    • brackets [,;]Concatenation. Recipients of an assignment. Results of a function
    • colon (:)Ranging operator. Addresses all elements along an array dimension or of a list.
    • comma(,) comma; instruction, argument separator
    • comments(// or /*...*/) comments
    • comparisoncomparison, relational operators
    • dollar($) last index
    • dot(.) symbol
    • equal(=) assignment , comparison, equal sign
    • getscilabkeywordsreturns a list with all scilab keywords.
    • hat(^) exponentiation
    • greater(>) greater than comparison
    • minus(-) subtraction operator. Sign change
    • not(~) logical not
    • parentheses( ) left and right parenthesis
    • percent(%) special character
    • plus (+)Numerical addition. Text concatenation (gluing)
    • quote(') transpose operator, string delimiter
    • semicolon(;) ending expression and row separator
    • slash(/) right division and feed back
    • star(*) multiplication operator
    • symbolsscilab operator names
    • tilde(~) logical not
  • Control flow
    • abortinterrupt evaluation.
    • breakkeyword to interrupt loops
    • casekeyword used in statement "select"
    • continuekeyword to pass control to the next iteration of a loop
    • dolanguage keyword for loops
    • elsekeyword in if-then-else and select-case-then-else
    • elseifkeyword in if-then-else
    • endend keyword
    • forkeyword entering a non-conditional loop
    • haltstop execution
    • ifkeyword for conditional execution
    • pausepause mode, invoke keyboard
    • resumereturn or resume execution and copy some local variables
    • returnreturn or resume execution and copy some local variables
    • selectselect keyword
    • thenkeyword in control flows 'if' and 'select'
    • catchbeginning of catch block in try-catch control instruction
    • whilewhile keyword
  • Configuration
    • bannershows Scilab banner
    • getdebuginfoget information about Scilab to debug
    • getmemoryreturns free and total system memory
    • getmodulesreturns list of modules installed in Scilab
    • getosreturn Operating System name and version
    • getscilabmodereturns scilab mode
    • getshellreturns current command interpreter.
    • getversionget scilab and modules version information
    • oldEmptyBehaviourControls the operation+ and operation- behaviour for Scilab
    • recursionlimitget or set the current or maximal allowed depth of nested calls
    • sciargsscilab command line arguments
    • verVersion information for Scilab
    • with_javasciChecks if Scilab has been built with the Java interface
    • with_macros_sourceChecks if macros sources are installed
    • with_moduleChecks if a Scilab module is installed
    • with_tkChecks if Scilab has been built with TCL/TK (obsolete)
  • Debugging
    • debugDebugging environment in Scilab
    • whereget current instruction calling tree
    • whereamidisplay current instruction calling tree
  • Error handling
    • errclearclears the last error (if its number matches a given one)
    • errorreports a run time error
    • error_tablelist of main standard errors messages
    • lasterrorget last recorded error message
    • warningwarning messages
  • Variables
    • Constants
      • SCI, WSCIvariable containing the value of the root path of Scilab.
      • SCIHOMEcontains the path to preferences, history files of your Scilab session.
      • TMPDIRtemporary directory path.
      • homeGives the user directory.
      • %eEuler number.
      • %epsepsilon (floating-point relative accuracy)
      • %f or %FBoolean variable for false.
      • %iimaginary unit
      • %infinfinity
      • %nannot-a-number
      • %piratio of circle's circumference to its diameter
      • %sA variable used to define polynomials.
      • %t or %TBoolean variable for true.
      • %zA variable used to define polynomials.
    • clearkills variables
    • clearglobalkills global variables
    • existschecks variable existence
    • globalDefine global variable
    • isdefchecks variable existence
    • isglobalchecks if a local variable has a global counterpart
    • namesNaming rules for variables and functions
    • predefvariable protection
    • wholisting of variables
    • who_userlisting of user's variables
    • whoslisting of variables in long form
  • exitEnds the current Scilab session
  • quitTerminates Scilab or decreases the pause level
  • scilabruns Scilab in interactive or batch mode with command line options
  • startupstartup files
Report an issue
Scilab Help Differential calculus, Integration >>

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 Feb 14 14:57:07 CET 2019