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.
Yvan Lengwiler (2021). WHO for a given CLASS (https://www.mathworks.com/matlabcentral/fileexchange/27964-who-for-a-given-class), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!