WHO for a given CLASS
版本 1.1.0.0 (1.3 KB) 作者:
Yvan Lengwiler
Displays a list of variables in the base workspace of a given class.
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.
引用格式
Yvan Lengwiler (2025). WHO for a given CLASS (https://ww2.mathworks.cn/matlabcentral/fileexchange/27964-who-for-a-given-class), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2010a
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Whos 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!