Information about a function handle, returned as a structure.
The structure contains the following fields.
Field Name | Field
Description |
---|
function
| Function name. If the function associated with the handle
is a nested function, the function name takes the form main_function /nested_function . |
type
| Function type. For example 'simple' , 'nested' , 'scopedfunction' ,
or 'anonymous' . |
file
| Full path to the function with the file extension. If the function is a local or nested function, then file is
the full path to the main function. If the function is built-in MATLAB function or
an anonymous function, then file is an empty character
array ('' ). If you load a saved function handle, then file is
an empty character array ('' ).
|
The structure has additional fields depending on the type of
function associated with the handle. For example, a local function
has a parentage
field, and an anonymous function
has a workspace
field. Use the information in s
for
querying and debugging purposes only.