Scilab Website | Contribute with GitLab | Scilab Community | 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 2026.1.0. This page might be outdated.
However, this page did not exist in the previous stable version.

Scilab Help >> Scilab > Variables

Variables

  • Constants
    • SCI, WSCI — variable containing the value of the root path of Scilab.
    • SCIHOME — contains the path to preferences, history files of your Scilab session.
    • TMPDIR — temporary directory path.
    • home — Gives the user directory.
    • %e — Euler number.
    • %eps — epsilon (floating-point relative accuracy)
    • %f or %F — Boolean variable for false.
    • %i — imaginary unit
    • %inf — infinity
    • %nan — not-a-number
    • %pi — ratio of circle's circumference to its diameter
    • %s — A variable used to define polynomials.
    • %t or %T — Boolean variable for true.
    • %z — A variable used to define polynomials.
  • clear — kills variables
  • clearglobal — kills global variables
  • exists — checks variable existence
  • global — Define global variable
  • isdef — checks variable existence
  • isglobal — checks if a local variable has a global counterpart
  • names — Naming rules for variables and functions
  • predef — variable protection
  • who — listing of variables
  • who_user — listing of user's variables
  • whos — listing of variables in long form
Report an issue
<< Error handling Scilab exit >>

Copyright (c) 2022-2026 (Dassault Systèmes S.E.)
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