keep

KEEP is complementary to the "clear" command: it keeps the supplied variables and deletes the rest.
17,3K download
Aggiornato 10 ago 1999

Nessuna licenza

Nota dell'editore: 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.

Cita come

David Yang (2025). keep (https://it.mathworks.com/matlabcentral/fileexchange/181-keep), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R10
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Workspace Variables and MAT Files in Help Center e MATLAB Answers
Tag Aggiungi tag
Riconoscimenti

Ispirato: keep2, KEEP3, keepfield, Keep4, Clear All But

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0