File Exchange

image thumbnail

WHO for a given CLASS

version 1.1 (1.28 KB) by

Displays a list of variables in the base workspace of a given class.

0 Downloads

Updated

View License

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.

Comments and Ratings (0)

Updates

1.1

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

MATLAB Release
MATLAB 7.10 (R2010a)
Tags Add Tags

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video