Navigation

Operators and Keywords

Function List:

C++ API

: s = functions (fcn_handle)

Return a structure containing information about the function handle fcn_handle.

The structure s always contains these three fields:

function

The function name. For an anonymous function (no name) this will be the actual function definition.

type

Type of the function.

anonymous

The function is anonymous.

private

The function is private.

overloaded

The function overloads an existing function.

simple

The function is a built-in or m-file function.

subfunction

The function is a subfunction within an m-file.

file

The m-file that will be called to perform the function. This field is empty for anonymous and built-in functions.

In addition, some function types may return more information in additional fields.

Warning: functions is provided for debugging purposes only. Its behavior may change in the future and programs should not depend on a particular output.

Package: octave