Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.1.1 - 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 >> Advanced functions > getd

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 Jan 03 14:23:44 CET 2022