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?
v = whoclass('logical');
Please comment if you like it.
Added the possibility to return a struct containing information about the filtered variables.
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.