keep

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

現在この提出コンテンツをフォロー中です。

編集メモ: 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.

引用

David Yang (2026). keep (https://jp.mathworks.com/matlabcentral/fileexchange/181-keep), MATLAB Central File Exchange. に取得済み.

謝辞

ヒントを与えたファイル: keep2, KEEP3, keepfield, Keep4, Clear All But

カテゴリ

Help Center および MATLAB AnswersWorkspace Variables and MAT Files についてさらに検索

Add the first tag.

一般的な情報

MATLAB リリースの互換性

  • すべてのリリースと互換性あり

プラットフォームの互換性

  • Windows
  • macOS
  • Linux
バージョン 公開済み リリース ノート Action
1.0.0.0