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


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.

The last instruction of a startup file must be followed 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 — run command or file in another Scilab
  • 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
<< quit Scilab scilab >>

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:
Mon Jun 17 17:49:14 CEST 2024