<< genlib Libraries lib >>

Scilab Help >> Advanced functions > Libraries > get_function_path

get_function_path

get source file path of a library function

Syntax

path = get_function_path(fun_name)

Arguments

fun_name

a string, the name of the function

path

a vector of strings containing:

  • absolute pathname of the function source file (.sci)
  • "<script>" if fun_name is an user-defined function written in Scilab language executed in Scilab's console.
  • "<moduleName>" if fun_name is a builtin function (so-called Scilab primitive)
  • Otherwise: [].

Description

Given the name of a function get_function_path returns a vector containing

get_function_path returns [] if fun_name does not match any library function.

Examples

get_function_path('median')

See also


Report an issue
<< genlib Libraries lib >>