Navigation

Operators and Keywords

Function List:

C++ API

: localfunctions ()

Return a list of all local functions, i.e., subfunctions, within the current file.

The return value is a column cell array of function handles to all local functions accessible from the function from which localfunctions is called. Nested functions are not included in the list.

If the call is from the command line, an anonymous function, or a script, the return value is an empty cell array.

Compatibility Note: Subfunctions which contain nested functions are not included in the list. This is a known issue.

Package: octave