Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: English - Português - 日本語

Please note that the recommended version of Scilab is 6.1.1. This page might be outdated.
However, this page did not exist in the previous stable version.

Aide Scilab >> Scilab > 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 create a functionname.sci file in the TMPDIR directory.

If functionname is not a valid macro or function name edit opens the file with filename equals 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.


edit('edit')  //opens editor with text of this function
edit('myfunction')  //opens editor for a new function
edit('/home/foo/bar.sci') //opens the file bar.sci
edit('test_run', 123) // opens the file test_run.sci at line 123 relatively to the definition of test_run()

See Also

  • manedit — editing a manual item
  • names — syntaxe des noms de variables dans Scilab
Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Oct 05 12:10:30 CEST 2011