keep

Version 1.0.0.0 (810 octets) par David Yang
KEEP is complementary to the "clear" command: it keeps the supplied variables and deletes the rest.
17,3K téléchargements
Mise à jour 10 août 1999

Aucune licence

Note de l’éditeur : This file was a File Exchange Pick of the Week.

KEEP is complementary to the "clear" command: instead of clearing the supplied variables, it keeps them and deletes the rest.

For example, the command " keep x y " clears all variables from the workspace except x and y.

Citation pour cette source

David Yang (2026). keep (https://fr.mathworks.com/matlabcentral/fileexchange/181-keep), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R10
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Workspace Variables and MAT Files dans Help Center et MATLAB Answers
Tags Ajouter des tags
Remerciements

A inspiré : keep2, KEEP3, keepfield, Keep4, Clear All But

Version Publié le Notes de version
1.0.0.0