isfunction_handle
Checks if value is a function handle.
📝Syntax
l = isfunction_handle(func_handle)
📥Input Arguments
Parameter Description
func_handle a function handle or other variable type.
📤Output Arguments
Parameter Description
l a logical
📄Description

l = isfunction_handle(func_handle) checks if func_handle is a function handle. Returning true if it is.

💡Examples
fh = str2func('cos')
isfunction_handle(fh)
fh = 3
isfunction_handle(fh)
🔗See Also
str2funcfunc2str
🕔Version History
Version Description
1.0.0 initial version
Edit this page on GitHub