Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.5.2 - Français

Change language to:
English - 日本語 - Português - Русский

Please note that the recommended version of Scilab is 2024.1.0. This page might be outdated.
See the recommended documentation of this function

Aide de Scilab >> Fonctions avancées > edit


function editing

Calling Sequence




character string




If functionname is the name of a defined scilab function edit(functionname) try to open the associated file functionname.sci.

If functionname is the name of a undefined scilab function edit(functionname) create a functionname.sci file in the current directory.

If functionname is not a valid macro or function name edit(functionname) opens the file with file name equal to functionname.

If linenumber is given, the file is opened at this line relatively to the definition of the macro named as the file itself. If the macro definition is not found, the file is opened at line given by linenumber.


//open editor with text of this function

//open editor for a new function

//open the file bar.sci in TMPDIR directory

// open the file test_run.sci at line 123
// relatively to the definition of test_run()
edit('test_run', 123)

See Also

  • manedit — editing a manual item
  • names — syntaxe des noms de variables dans Scilab
  • editor — Call the text editor as defined in the preferences
Report an issue
<< deff Fonctions avancées fun2string >>

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:
Wed Apr 01 10:21:53 CEST 2015