- `FCN_HANDLE = str2func (FCN_NAME)`
- `FCN_HANDLE = str2func (FCN_NAME, "global")`

Return a function handle constructed from the string `FCN_NAME`.

The optional `"global"` argument requests a handle resolved in the global
function scope.

See also: `func2str`, `functions`.

### References

- https://www.mathworks.com/help/matlab/ref/str2func.html
- https://octave.sourceforge.io/octave/function/str2func.html
