func2str
Return a function handle constructed from a string.
Syntax
- func_handle = str2func(str)
Input argument
- str - a string.
Output argument
- func_handle - a function handle
Description
func_handle = str2func(str) returns a function handle constructed from the string str.
Example
fh = str2func('cos')
class(fh)
See also
History
Version | Description |
---|---|
1.0.0 | initial version |
Author
Allan CORNET