Skip to Main Content Skip to Search
Login
File Exchange
MATLAB Newsgroup
Link Exchange
  Blogs  
 Contest 
MathWorks.com

Thread Subject: Using feature('memstats') fails with 'An unknown feature was specified'

Subject: Using feature('memstats') fails with 'An unknown feature was specified'

From: Ralph Wahrlich

Date: 16 Oct, 2007 02:14:50

Message: 1 of 2

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.)

Subject: Using feature('memstats') fails with 'An unknown feature was specified'

From: Yair Altman

Date: 19 Oct, 2007 13:13:30

Message: 2 of 2

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

You're probably using an old version of Matlab, that didn't
have this feature yet. It works ok on one of the latest
releases (including the very latest R2007b).

> >> which feature
> built-in (undocumented)
>
> I can't find much help though:
>
> >> help feature
> feature.m not found.

feature is an internal undocumented function, used by
Mathworks for internal program development and debugging.
There's not much info about it floating around, mostly in
this newsgroup. Specific features are liable to change
between Matlab releases, so if you see some neat feature in
an old thread, there's a chance it won't work on the latest
release... There are some excellent undocumented Matlab
functions that I'd be happy to recommend relying on, but
feature is not one of them - it's way up on the risk scale.

Yair Altman
http://ymasoftware.com

Tags for this Thread

Everyone's Tags:

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.

Tag Activity for This Thread
Tag Applied By Date/Time
undocumented Yair Altman 19 Oct, 2007 09:13:50
memory Ralph Wahrlich 15 Oct, 2007 22:15:18
memstats Ralph Wahrlich 15 Oct, 2007 22:15:18
feature Ralph Wahrlich 15 Oct, 2007 22:15:18
rssFeed for this Thread

envelope graphic E-mail this page to a colleague

Public Submission Policy
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 Disclaimer prior to use.
Related Topics