<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/214739</link>
    <title>MATLAB Central Newsreader - ways to extract list of functions and its hierarchy</title>
    <description>Feed for thread: ways to extract list of functions and its hierarchy</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Wed, 20 Aug 2008 02:05:04 -0400</pubDate>
      <title>Re: ways to extract list of functions and its hierarchy</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/214739#596434</link>
      <author>Abe Lau</author>
      <description>&quot;Kenneth Eaton&quot; &amp;lt;Kenneth.dot.Eaton@cchmc.dot.org&amp;gt; wrote in&lt;br&gt;
message &amp;lt;g8daq7$ifd$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &quot;Abe Lau&quot; &amp;lt;abe@nonexistancegmail.com&amp;gt; wrote in message &lt;br&gt;
&amp;gt; &amp;lt;g8d77r$m03$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; Hi all,&lt;br&gt;
&amp;gt; &amp;gt; Having written a routine in Matlab with a GUI with 20-30&lt;br&gt;
&amp;gt; &amp;gt; child functions, I would like to generate a list of&lt;br&gt;
&amp;gt; &amp;gt; functions and for inclusion in a report.  What I would &lt;br&gt;
&amp;gt; like&lt;br&gt;
&amp;gt; &amp;gt; is to have a functional hierarchy and possibly a brief&lt;br&gt;
&amp;gt; &amp;gt; summary of each function, including the header/doc, no. of&lt;br&gt;
&amp;gt; &amp;gt; lines, etc.&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; I've had a look at the report generator, but it doesn't &lt;br&gt;
&amp;gt; look&lt;br&gt;
&amp;gt; &amp;gt; like it produce what I want.  Is there any nice way to&lt;br&gt;
&amp;gt; &amp;gt; generate such a &quot;report&quot;? Thanks.&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; sorry if this message is duplicated.  Apparently I sent&lt;br&gt;
&amp;gt; &amp;gt; another two yesterday but it didn't go through and it &lt;br&gt;
&amp;gt; didn't&lt;br&gt;
&amp;gt; &amp;gt; appear in the mathworks newsreader page.&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; Abe&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I would suggest you check out the FEX postings FARG and &lt;br&gt;
&amp;gt; FDEP by Urs Schwarz. I also submitted a simple m-file &lt;br&gt;
&amp;gt; content and nesting hierarchy display generator called FTOC.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Ken&lt;br&gt;
&lt;br&gt;
Thanks Ken, that's what I'm looking for.  &lt;br&gt;
&lt;br&gt;
By the way, is there any general guideline how reference/ack&lt;br&gt;
should be made if I use it (and other files in File&lt;br&gt;
Exchange) in my report?  I suppose all those files are in&lt;br&gt;
the &quot;public domain&quot;, in which I just need to acknowledge the&lt;br&gt;
source and the author without explicit permission from the&lt;br&gt;
author him/herself isn't it?</description>
    </item>
    <item>
      <pubDate>Wed, 20 Aug 2008 02:37:01 -0400</pubDate>
      <title>Re: ways to extract list of functions and its hierarchy</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/214739#596438</link>
      <author>Kenneth Eaton</author>
      <description>&amp;gt; Thanks Ken, that's what I'm looking for.  &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; By the way, is there any general guideline how &lt;br&gt;
reference/ack&lt;br&gt;
&amp;gt; should be made if I use it (and other files in File&lt;br&gt;
&amp;gt; Exchange) in my report?  I suppose all those files are in&lt;br&gt;
&amp;gt; the &quot;public domain&quot;, in which I just need to acknowledge &lt;br&gt;
the&lt;br&gt;
&amp;gt; source and the author without explicit permission from the&lt;br&gt;
&amp;gt; author him/herself isn't it?&lt;br&gt;
&lt;br&gt;
I think you're right that FEX postings are public domain, &lt;br&gt;
but I'm not totally sure. You could probably check with &lt;br&gt;
some MathWorks folks about whether an acknowledgment of the &lt;br&gt;
source and author is enough. If it were me, I might still &lt;br&gt;
double-check if it's okay with the authors, since I'm not &lt;br&gt;
sure of what your &quot;report&quot; encompasses... Is it going to be &lt;br&gt;
published anywhere, or just for internal use?</description>
    </item>
    <item>
      <pubDate>Wed, 20 Aug 2008 06:55:14 -0400</pubDate>
      <title>Re: ways to extract list of functions and its hierarchy</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/214739#596461</link>
      <author>Walter Roberson</author>
      <description>Kenneth Eaton wrote:&lt;br&gt;
&lt;br&gt;
&amp;gt;&amp;gt; By the way, is there any general guideline how &lt;br&gt;
&amp;gt; reference/ack&lt;br&gt;
&amp;gt;&amp;gt; should be made if I use it (and other files in File&lt;br&gt;
&amp;gt;&amp;gt; Exchange) in my report?  I suppose all those files are in&lt;br&gt;
&amp;gt;&amp;gt; the &quot;public domain&quot;, in which I just need to acknowledge &lt;br&gt;
&amp;gt; the&lt;br&gt;
&amp;gt;&amp;gt; source and the author without explicit permission from the&lt;br&gt;
&amp;gt;&amp;gt; author him/herself isn't it?&lt;br&gt;
&amp;nbsp;&lt;br&gt;
&amp;gt; I think you're right that FEX postings are public domain, &lt;br&gt;
&amp;gt; but I'm not totally sure.&lt;br&gt;
&lt;br&gt;
I *am* sure: they are NOT in the public domain! &quot;public domain&quot;&lt;br&gt;
has a fairly specific legal meaning, and since this is a matter&lt;br&gt;
of copyright, the files do not automatically fall into the public&lt;br&gt;
domain until 40 to 70 years after the death of the author&lt;br&gt;
(exact duration depends on the country, with copyright protection&lt;br&gt;
extending the longest in the USA, courtesy of &quot;The Sonny Bono Act&quot;.)&lt;br&gt;
&lt;br&gt;
In order for a file to be in the public domain, it is not enough&lt;br&gt;
that the file be readily available, and it would not be enough that&lt;br&gt;
there was no explicit copyright statement in it; it would not be&lt;br&gt;
enough that no owner or year was given. In order for a file to be&lt;br&gt;
in the public domain, it has to be a government publication (in some&lt;br&gt;
countries such as USA), or the author (and anyone else who shares&lt;br&gt;
copyright) must EXPLICITLY place the file in the public domain...&lt;br&gt;
or copyright has to have expired (which takes a long time now.)&lt;br&gt;
&lt;br&gt;
Basically if you look at the file and there is not *specific*&lt;br&gt;
statement that &quot;This code is placed in the public domain&quot; then&lt;br&gt;
the file is NOT in the public domain (copyright not having expired.)&lt;br&gt;
And if the author makes even the -slightest- &quot;reservation&quot; as to how&lt;br&gt;
the code can be used, then that reservation negates *all* statement&lt;br&gt;
of the code being in the public domain. Code can only voluntarily&lt;br&gt;
enter the public domain if the copyright holders explicitly release&lt;br&gt;
ALL rights.&lt;br&gt;
&lt;br&gt;
And because ALL rights have to have been released for code to be in&lt;br&gt;
the public domain, then if it -were- (hypothetically) the case that&lt;br&gt;
FEX contributions where in the public domain, then there would be no&lt;br&gt;
legal need to give any citation what-so-ever (unless that legal&lt;br&gt;
need was imposed by some other mechanism such as to avoid an&lt;br&gt;
academic charge of &quot;plagerism&quot;). Code that is in the public domain&lt;br&gt;
is free for ALL use with no attribution, as long as you don't claim&lt;br&gt;
to have written it yourself. Modify the contents even the slightest,&lt;br&gt;
though, and you can claim rights for the modified version for yourself.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
What I would assume (without further checking) is that code from the&lt;br&gt;
FEX can be used for private individuals for non-commercial purposes:&lt;br&gt;
many countries have a &quot;private study&quot; exemption in their copyright laws.&lt;br&gt;
Beyond that, even for internal use in a company where the code did&lt;br&gt;
not get placed in a product, I would assume that copyright holds&lt;br&gt;
and that the copyright status of the code would need to be actively&lt;br&gt;
examined. And for any code going into a commercial product, if the&lt;br&gt;
code author did not explicitly include a license permitting that use,&lt;br&gt;
I would assume that such use would be an illegal &quot;derived work&quot; that&lt;br&gt;
needed a formal copyright clearance before it could be used.&lt;br&gt;
&lt;br&gt;
-- &lt;br&gt;
Q = quotation(rand);&lt;br&gt;
if isempty(Q); error('Quotation server filesystem problems')&lt;br&gt;
else sprintf('%s',Q), end</description>
    </item>
    <item>
      <pubDate>Wed, 20 Aug 2008 10:51:02 -0400</pubDate>
      <title>Re: ways to extract list of functions and its hierarchy</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/214739#596505</link>
      <author>John D'Errico</author>
      <description>&quot;Abe Lau&quot; &amp;lt;abe@nonexistancegmail.com&amp;gt; wrote in message &lt;br&gt;
&amp;lt;g8fu4g$jkj$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &quot;Kenneth Eaton&quot; &amp;lt;Kenneth.dot.Eaton@cchmc.dot.org&amp;gt; wrote in&lt;br&gt;
&amp;gt; message &amp;lt;g8daq7$ifd$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; &quot;Abe Lau&quot; &amp;lt;abe@nonexistancegmail.com&amp;gt; wrote in message &lt;br&gt;
&amp;gt; &amp;gt; &amp;lt;g8d77r$m03$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; Hi all,&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; Having written a routine in Matlab with a GUI with 20-30&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; child functions, I would like to generate a list of&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; functions and for inclusion in a report.  What I would &lt;br&gt;
&amp;gt; &amp;gt; like&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; is to have a functional hierarchy and possibly a brief&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; summary of each function, including the header/doc, no. of&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; lines, etc.&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; I've had a look at the report generator, but it doesn't &lt;br&gt;
&amp;gt; &amp;gt; look&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; like it produce what I want.  Is there any nice way to&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; generate such a &quot;report&quot;? Thanks.&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; sorry if this message is duplicated.  Apparently I sent&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; another two yesterday but it didn't go through and it &lt;br&gt;
&amp;gt; &amp;gt; didn't&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; appear in the mathworks newsreader page.&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; Abe&lt;br&gt;
&amp;gt; &amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; I would suggest you check out the FEX postings FARG and &lt;br&gt;
&amp;gt; &amp;gt; FDEP by Urs Schwarz. I also submitted a simple m-file &lt;br&gt;
&amp;gt; &amp;gt; content and nesting hierarchy display generator called FTOC.&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; Ken&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Thanks Ken, that's what I'm looking for.  &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; By the way, is there any general guideline how reference/ack&lt;br&gt;
&amp;gt; should be made if I use it (and other files in File&lt;br&gt;
&amp;gt; Exchange) in my report?  I suppose all those files are in&lt;br&gt;
&amp;gt; the &quot;public domain&quot;, in which I just need to acknowledge the&lt;br&gt;
&amp;gt; source and the author without explicit permission from the&lt;br&gt;
&amp;gt; author him/herself isn't it?&lt;br&gt;
&lt;br&gt;
While it is probably true that no permission&lt;br&gt;
MUST be obtained to reference the tools on&lt;br&gt;
the FEX, it is always nice to tell the author of&lt;br&gt;
your plans. If you have found a tool to be of&lt;br&gt;
use, the author will surely be happy to hear&lt;br&gt;
of it. I know that I always appreciate a note.&lt;br&gt;
&lt;br&gt;
As far a a citation goes, we tried to resolve&lt;br&gt;
that issue here:&lt;br&gt;
&lt;br&gt;
&lt;a href=&quot;http://matlabwiki.mathworks.com/Citing_Files_from_the_File_Exchange&quot;&gt;http://matlabwiki.mathworks.com/Citing_Files_from_the_File_Exchange&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
HTH,&lt;br&gt;
John</description>
    </item>
    <item>
      <pubDate>Tue, 19 Aug 2008 01:22:03 -0400</pubDate>
      <title>ways to extract list of functions and its hierarchy</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/214739#575528</link>
      <author>Abe Lau</author>
      <description>Hi all,&lt;br&gt;
Having written a routine in Matlab with a GUI with 20-30&lt;br&gt;
child functions, I would like to generate a list of&lt;br&gt;
functions and for inclusion in a report.  What I would like&lt;br&gt;
is to have a functional hierarchy and possibly a brief&lt;br&gt;
summary of each function, including the header/doc, no. of&lt;br&gt;
lines, etc.&lt;br&gt;
&lt;br&gt;
I've had a look at the report generator, but it doesn't look&lt;br&gt;
like it produce what I want.  Is there any nice way to&lt;br&gt;
generate such a &quot;report&quot;? Thanks.&lt;br&gt;
&lt;br&gt;
sorry if this message is duplicated.  Apparently I sent&lt;br&gt;
another two yesterday but it didn't go through and it didn't&lt;br&gt;
appear in the mathworks newsreader page.&lt;br&gt;
&lt;br&gt;
Abe</description>
    </item>
    <item>
      <pubDate>Tue, 19 Aug 2008 02:23:04 -0400</pubDate>
      <title>Re: ways to extract list of functions and its hierarchy</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/214739#575532</link>
      <author>Kenneth Eaton</author>
      <description>&quot;Abe Lau&quot; &amp;lt;abe@nonexistancegmail.com&amp;gt; wrote in message &lt;br&gt;
&amp;lt;g8d77r$m03$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Hi all,&lt;br&gt;
&amp;gt; Having written a routine in Matlab with a GUI with 20-30&lt;br&gt;
&amp;gt; child functions, I would like to generate a list of&lt;br&gt;
&amp;gt; functions and for inclusion in a report.  What I would &lt;br&gt;
like&lt;br&gt;
&amp;gt; is to have a functional hierarchy and possibly a brief&lt;br&gt;
&amp;gt; summary of each function, including the header/doc, no. of&lt;br&gt;
&amp;gt; lines, etc.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I've had a look at the report generator, but it doesn't &lt;br&gt;
look&lt;br&gt;
&amp;gt; like it produce what I want.  Is there any nice way to&lt;br&gt;
&amp;gt; generate such a &quot;report&quot;? Thanks.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; sorry if this message is duplicated.  Apparently I sent&lt;br&gt;
&amp;gt; another two yesterday but it didn't go through and it &lt;br&gt;
didn't&lt;br&gt;
&amp;gt; appear in the mathworks newsreader page.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Abe&lt;br&gt;
&amp;gt; &lt;br&gt;
&lt;br&gt;
I would suggest you check out the FEX postings FARG and &lt;br&gt;
FDEP by Urs Schwarz. I also submitted a simple m-file &lt;br&gt;
content and nesting hierarchy display generator called FTOC.&lt;br&gt;
&lt;br&gt;
Ken</description>
    </item>
  </channel>
</rss>

