Thread Subject: command line help for nested functions

Subject: command line help for nested functions

From: David Johnston

Date: 27 Feb, 2006 18:19:14

Message: 1 of 3

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?

Subject: command line help for nested functions

From: Brad Phelan

Date: 28 Feb, 2006 03:18:42

Message: 2 of 3


> I tried 'help f1#f2#f2a' with all combinations of '>' and '/' but
> could not find anything that works. Is it possible?

No

Brad

--
http://xtargets.com

Subject: command line help for nested functions

From: Loren Shure

Date: 28 Feb, 2006 08:41:51

Message: 3 of 3

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.

--
Loren
http://blogs.mathworks.com/loren

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread
 

MATLAB Central Terms of Use

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.

Contact us at files@mathworks.com