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.
302.0 次下载
更新时间 2010/6/22

查看许可证

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 (2024). WHO for a given CLASS (https://www.mathworks.com/matlabcentral/fileexchange/27964-who-for-a-given-class), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2010a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Whos 的更多信息
标签 添加标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.1.0.0

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

1.0.0.0