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,2K 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 (2024). keep (https://www.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 LinuxKategorien
Mehr zu Workspace Variables and MAT-Files finden Sie in Help Center und MATLAB Answers
Tags
Quellenangaben
Inspiriert: 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!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0.0 |