WHO for a given CLASS
by Yvan Lengwiler
20 Jun 2010
(Updated 22 Jun 2010)
Displays a list of variables in the base workspace of a given class.
|
Watch this File
|
| File Information |
| Description |
WHOCLASS filters out the names of the variables in the base workspace that belong to a particular class, or list of classes, as selected by the user. The program is very simple, just three lines, essentially, but I have found it useful occasionally, so why not share it?
Examples:
whoclass('double')
whoclass('logical','struct')
v = whoclass('logical');
Please comment if you like it. |
| MATLAB release |
MATLAB 7.10 (2010a)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 22 Jun 2010 |
Added the possibility to return a struct containing information about the filtered variables. |
|
Contact us at files@mathworks.com