Main Content
localfunctions
Function handles to all local functions in MATLAB file
Syntax
Description
fcns = localfunctions
returns a cell array
of function handles, fcns
, to all local functions
in the current file.
You cannot define local functions in the context of the command
line or anonymous functions, so when you call localfunctions
from
these contexts, you get an empty cell array. Within the cell array, localfunctions
returns
the function handles in an undefined order.
Examples
Version History
Introduced in R2013b