edit

function editor.

Syntax

  • edit()

  • edit filename

  • edit function_name

Input argument

  • filename - a string: filename to open.

  • function_name - a string: function name

Description

edit opens a new file called untitled.m in the nelson's editor.

If function_name is the name of a defined nelson function edit(function_name) try to open the associated file function_name.m .

edit(dirname) opens all .m available in dirname.

Example

edit('edit')

See also

smartindent.

History

Author

Allan CORNET

Last updated