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
No comments:
Post a Comment