I have a local function defined in an m-file. For example:
% begining of public_function.m file
function fh = public_function( )
%
% do some computation...
The official documentation says that:
... you cannot call a local function from the command line or from functions in other files.
According to this, you must pass its handle to the caller in order to allow invoking it indirectly outside its m-file. I believe that there is no documented sensible way to access local functions otherwise.
Oddly though, you can still do this with help
:
help public_function>local_function