Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.0 - 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 manual >> Scilab > edit

edit

function editing

Calling Sequence

edit(functionname)

Arguments

functionname

character string

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.

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

See Also

<< dispbpt Scilab errcatch >>

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 Jan 26 16:23:36 CET 2011