Code covered by the BSD License  

Highlights from
WHO for a given CLASS

Be the first to rate this file! 5 Downloads (last 30 days) File Size: 1.28 KB File ID: #27964

WHO for a given CLASS

by

 

20 Jun 2010 (Updated )

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 (R2010a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Updates
22 Jun 2010

Added the possibility to return a struct containing information about the filtered variables.

Contact us