func2str
- :
str =func2str(fcn_handle)¶ Render the function behind fcn_handle as text.
For a handle to a named function the result is that function’s name. For an anonymous handle, which has no name, the result is the handle’s full source text, including its parameter list and body. A single, valid function handle is required; any other argument is an error.