matlab.metadata.Function Class
Namespace: matlab.metadata
Superclasses: matlab.metadata.MetaData
Description
The matlab.metadata.Function class provides information about a function,
including its namespace, the path of its definition file, and its input and output
arguments.
The matlab.metadata.Function class is a handle class.
Creation
To create a matlab.metadata.Function object that describes a given
function, call metafunction with the name of the function as a
string.
mfunc = metafunction("functionName")To create a Function object for a local function, call
metafunction with the names of the main and local functions separated
by >.
mfunc = metafunction("mainFunction>localFunction")For more details and syntaxes, see metafunction.
Properties
Examples
Version History
Introduced in R2026a