func_handle = str2func(str)
| Parameter | Description |
|---|---|
| str | a string. |
| Parameter | Description |
|---|---|
| func_handle | a function handle |
func_handle = str2func(str) returns a function handle constructed from the string str.
fh = str2func('cos')
class(fh)
| Version | Description |
|---|---|
| 1.0.0 | initial version |