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

Contact us at files@mathworks.com