WHO for a given CLASS

Displays a list of variables in the base workspace of a given class.
302 téléchargements
Mise à jour 22 juin 2010

Afficher la licence

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.

Citation pour cette source

Yvan Lengwiler (2024). WHO for a given CLASS (https://www.mathworks.com/matlabcentral/fileexchange/27964-who-for-a-given-class), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2010a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Whos dans Help Center et MATLAB Answers
Tags Ajouter des tags

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
1.1.0.0

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

1.0.0.0