Code covered by the BSD License  

Highlights from
WHO for a given CLASS

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

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

Tag Activity for this File
Tag Applied By Date/Time
utility Yvan Lengwiler 21 Jun 2010 11:59:48

Contact us at files@mathworks.com