keep

KEEP is complementary to the "clear" command: it keeps the supplied variables and deletes the rest.

Sie verfolgen jetzt diese Einreichung

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 .

Quellenangaben

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

Add the first tag.

Allgemeine Informationen

Kompatibilität der MATLAB-Version

  • Kompatibel mit allen Versionen

Plattform-Kompatibilität

  • Windows
  • macOS
  • Linux
Version Veröffentlicht Versionshinweise Action
1.0.0.0