Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.0.0 - 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 > startup

startup

startup files

Description

The startup files SCIHOME/.scilab or SCIHOME/scilab.ini are automatically executed (if present) when Scilab is invoked, in addition with the file SCI/etc/scilab.start.

Remarks

Last line of startup file must be terminated by a newline to be taken into account.

Examples

ls(SCIHOME)
if ls(SCIHOME+"/scilab.ini") == [] & ls(SCIHOME+"/.scilab") == []
   disp("No startup file defined");
end

See also

  • scilab — runs Scilab in interactive or batch mode with command line options
  • SCIHOME — contains the path to preferences, history files of your Scilab session.
  • SCI — variable containing the value of the root path of Scilab.
  • TMPDIR — temporary directory path.
Report an issue
<< scilex | scilab Scilab 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:
Tue Feb 14 15:02:38 CET 2017