| MATLAB Function Reference | ![]() |
Constructs a function name string from a function handle
Syntax
Description
func2str(fhandle)
constructs a string, s, that holds the name of the function to which the function handle, fhandle, belongs.
When you need to perform a string operation, such as compare or display, on a function handle, you can use func2str to construct a string bearing the function name.
Examples
To create a function name string from the function handle, @humps
See Also
function_handle, str2func, functions
| fullfile | function | ![]() |