Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.5.1 - 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.
However, this page did not exist in the previous stable version.

Scilab Help >> Advanced functions > listfunctions

listfunctions

properties of all functions in the workspace

Calling Sequence

[flist,compiled,profilable,called] = listfunctions([scope])

Arguments

scope

a string, "local" (default) or "global".

flist

a string array, names of all the function variables in the specified namespace.

compiled

a boolean array, true if the corresponding element of flist is of type 13.

profilable

a boolean array, true if the corresponding element of flist is of type 13, and additionally profiling information is found in the pseudocode of the function.

called

an uint32 array, number of times the corresponding element of flist has been already called (nonzero only for profilable functions).

Description

  • This function checks all the variables in the workspace (given by who) and collects those of type 11 or 13; for the latter, lst = macr2lst(fun) is called, in order to check for the magic profiling entry at the end of the first codeline, i.e. lst(5)(1)=="25".

Examples

recompilefunction("asinh","p")
[flist,compiled,profilable,called] = listfunctions();
flist(profilable)

See Also

  • function — opens a function definition
  • exec — script file execution
  • deff — on-line definition of function
  • comp — scilab function compilation
  • fun2string — generates ASCII definition of a Scilab function
  • macr2lst — function to list conversion
  • profile — Returns the profiling results of a function
  • recompilefunction — recompiles a scilab function, changing its type
  • who — listing of variables
Report an issue
<< head_comments Advanced functions macr2lst >>

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 Oct 02 13:47:02 CEST 2014