> >> 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.
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 Terms prior to use.