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


getd

Load all functions defined in a directory

Syntax

getd(path)

Arguments

path

a string. The directory pathname.

"." if getd is called without input argument or if path is an empty string.

Description

Loads all .sci files (containing Scilab functions) defined in the path directory.

If the file does not contain a function, the script will be executed.

Examples

getd('SCI/modules/cacsd/macros')

See also

  • exec — script file execution
  • lib — loads a library of Scilab functions and variables, and sets its name
  • pwd — gets Scilab current directory
  • chdir — changes Scilab current directory
Report an issue
<< function Advanced functions macr2tree >>

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 May 22 12:37:13 CEST 2023