Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.0 - 日本語

Change language to:
English - 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 editor > edit_error

edit_error

opens in scilab editor the source of the last recorded error

Calling Sequence

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.

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

Examples

acosh abc
edit_error

Authors

  • Enrico Segre
  • Allan CORNET
<< scilab editor scilab editor Editor >>

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:25:14 CET 2011