Say you have an m-file
function s = f1()
s = f2();
end
function s = f2()
s = struct( 'a',@f2a, 'b',@f2b
function f2a()
%help for user ...
end
function f2b()
end
end
then the user can run the nested function 'f2a' and so could expect
some help.
I tried 'help f1#f2#f2a' with all combinations of '>' and '/' but
could not find anything that works. Is it possible?
In article <ef2a5b6.-1@webx.raydaftYaTP>, d.k.johnston@REmoVEshef.ac.uk
says...
> Say you have an m-file
> function s = f1()
> s = f2();
> end
> function s = f2()
> s = struct( 'a',@f2a, 'b',@f2b
> function f2a()
> %help for user ...
> end
> function f2b()
> end
> end
> then the user can run the nested function 'f2a' and so could expect
> some help.
>
> I tried 'help f1#f2#f2a' with all combinations of '>' and '/' but
> could not find anything that works. Is it possible?
>
You should be able to but I also am having trouble. I have reported
this as a bug.
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for
all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content.
Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available
via MATLAB Central.
Read the complete Terms prior to use.