Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Using feature('memstats') fails with 'An unknown feature was specified'
Date: Tue, 16 Oct 2007 02:14:50 +0000 (UTC)
Organization: Victoria Univ
Lines: 46
Message-ID: <ff16qq$oo2$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1192500890 25346 172.30.248.35 (16 Oct 2007 02:14:50 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 16 Oct 2007 02:14:50 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 9336
Xref: news.mathworks.com comp.soft-sys.matlab:433103


Hi:

I want to find out what Matlab is doing with its allocated memory. A 
command called "feature" looks promising. But when I try it as instructed:

  feature('memstats')

it doesn't work - I get this:

  >> m = feature('memstats')
  ??? Error using ==> feature
  An unknown feature was specified


I try another syntax:

  >> feature memstats
  ??? Error using ==> feature
  An unknown feature was specified


And, I try omitting the arguments, hoping that the function might give me a 
list of valid arguments:

  >> feature
  ??? Error using ==> feature
  Not enough input arguments.


The base command seems to definitely be on the system...

  >> which feature
  built-in (undocumented)


I can't find much help though:

  >> help feature
  feature.m not found.


Any help appreciated!
Cheers,
Ralph
(Remove the string ".dot" from my email address, to email me.)