keep

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

Ahora está siguiendo esta publicación

Nota del editor: 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.

Citar como

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

Agradecimientos

Inspiración para: keep2, KEEP3, keepfield, Keep4, Clear All But

Etiquetas

Añadir etiquetas

Add the first tag.

Información general

Compatibilidad con la versión de MATLAB

  • Compatible con cualquier versión

Compatibilidad con las plataformas

  • Windows
  • macOS
  • Linux
Versión Publicado Notas de la versión Action
1.0.0.0