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

Change language to:
English - 日本語 - 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

Aide Scilab >> Scilab > edit

edit

function editing

Calling Sequence

edit(functionname[,linenumber])

Arguments

functionname

character string

linenumber

number

Description

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.

Examples

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

See Also

  • manedit — editing a manual item
  • names — syntaxe des noms de variables dans Scilab
<< dispbpt Scilab error_table >>

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:
Thu Mar 03 10:59:59 CET 2011