<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/157774</link>
    <title>MATLAB Central Newsreader - Using feature('memstats') fails with 'An unknown feature was specified'</title>
    <description>Feed for thread: Using feature('memstats') fails with 'An unknown feature was specified'</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>Tue, 16 Oct 2007 02:14:50 -0400</pubDate>
      <title>Using feature('memstats') fails with 'An unknown feature was specified'</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/157774#396879</link>
      <author>Ralph Wahrlich</author>
      <description>Hi:&lt;br&gt;
&lt;br&gt;
I want to find out what Matlab is doing with its allocated memory. A &lt;br&gt;
command called &quot;feature&quot; looks promising. But when I try it as instructed:&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;feature('memstats')&lt;br&gt;
&lt;br&gt;
it doesn't work - I get this:&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;gt;&amp;gt; m = feature('memstats')&lt;br&gt;
&amp;nbsp;&amp;nbsp;??? Error using ==&amp;gt; feature&lt;br&gt;
&amp;nbsp;&amp;nbsp;An unknown feature was specified&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
I try another syntax:&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;gt;&amp;gt; feature memstats&lt;br&gt;
&amp;nbsp;&amp;nbsp;??? Error using ==&amp;gt; feature&lt;br&gt;
&amp;nbsp;&amp;nbsp;An unknown feature was specified&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
And, I try omitting the arguments, hoping that the function might give me a &lt;br&gt;
list of valid arguments:&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;gt;&amp;gt; feature&lt;br&gt;
&amp;nbsp;&amp;nbsp;??? Error using ==&amp;gt; feature&lt;br&gt;
&amp;nbsp;&amp;nbsp;Not enough input arguments.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
The base command seems to definitely be on the system...&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;gt;&amp;gt; which feature&lt;br&gt;
&amp;nbsp;&amp;nbsp;built-in (undocumented)&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
I can't find much help though:&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;gt;&amp;gt; help feature&lt;br&gt;
&amp;nbsp;&amp;nbsp;feature.m not found.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Any help appreciated!&lt;br&gt;
Cheers,&lt;br&gt;
Ralph&lt;br&gt;
(Remove the string &quot;.dot&quot; from my email address, to email me.)</description>
    </item>
    <item>
      <pubDate>Fri, 19 Oct 2007 13:13:30 -0400</pubDate>
      <title>Re: Using feature('memstats') fails with 'An unknown feature was specified'</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/157774#397510</link>
      <author>Yair Altman</author>
      <description>&amp;gt;   &amp;gt;&amp;gt; m = feature('memstats')&lt;br&gt;
&amp;gt;   ??? Error using ==&amp;gt; feature&lt;br&gt;
&amp;gt;   An unknown feature was specified&lt;br&gt;
&lt;br&gt;
You're probably using an old version of Matlab, that didn't&lt;br&gt;
have this feature yet. It works ok on one of the latest&lt;br&gt;
releases (including the very latest R2007b).&lt;br&gt;
&lt;br&gt;
&amp;gt;   &amp;gt;&amp;gt; which feature&lt;br&gt;
&amp;gt;   built-in (undocumented)&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I can't find much help though:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt;   &amp;gt;&amp;gt; help feature&lt;br&gt;
&amp;gt;   feature.m not found.&lt;br&gt;
&lt;br&gt;
feature is an internal undocumented function, used by&lt;br&gt;
Mathworks for internal program development and debugging.&lt;br&gt;
There's not much info about it floating around, mostly in&lt;br&gt;
this newsgroup. Specific features are liable to change&lt;br&gt;
between Matlab releases, so if you see some neat feature in&lt;br&gt;
an old thread, there's a chance it won't work on the latest&lt;br&gt;
release... There are some excellent undocumented Matlab&lt;br&gt;
functions that I'd be happy to recommend relying on, but&lt;br&gt;
feature is not one of them - it's way up on the risk scale.&lt;br&gt;
&lt;br&gt;
Yair Altman&lt;br&gt;
&lt;a href=&quot;http://ymasoftware.com&quot;&gt;http://ymasoftware.com&lt;/a&gt;</description>
    </item>
  </channel>
</rss>

