Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: Français - Português - Русский - 日本語
Scilab Help >> Text editor (Scinotes) > edit_error

edit_error

opens in scilab editor the source of the last recorded error

Syntax

answ = edit_error(clearerror)

Arguments

clearerror

boolean - if true the error condition is cleared, if false it is kept (as in lasterror)

answ

a string stating which source file is open (or why no file was open)

Description

This function opens in scilab editor the source of the function which caused the last recorded error.

This function works only for functions which are defined in libraries, i.e. not for internal functions, nor with functions defined online, nor loaded with individual exec or getd. This is since Scilab presently retains only the path to libraries and not to individual function sources.

Correspondence between the function name foo and function filename foo.sci is tacitly assumed.

Examples

acosh abc
edit_error

See Also

Scilab Enterprises
Copyright (c) 2011-2015 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Jun 15 08:27:54 CEST 2016