keep

Version 1.0.0.0 (810 Bytes) von David Yang
KEEP is complementary to the "clear" command: it keeps the supplied variables and deletes the rest.
17,3K Downloads
Aktualisiert 10. Aug 1999

Keine Lizenz

Anmerkung des Herausgebers: 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.

Zitieren als

David Yang (2026). keep (https://de.mathworks.com/matlabcentral/fileexchange/181-keep), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R10
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Workspace Variables and MAT Files finden Sie in Help Center und MATLAB Answers
Tags Tags hinzufügen
Quellenangaben

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

Version Veröffentlicht Versionshinweise
1.0.0.0