Keep4

バージョン 1.0.0.0 (2.33 KB) 作成者: Mirko Hrovat
Keeps the listed variables in the calling workspace with a command format similar to "clear"
ダウンロード: 2.8K
更新 2006/8/28

ライセンスの表示

This is another version of Keep, which allows a user to specify what variables are kept in the workspace of the calling routine. "Keep" compliments "Clear".

This version has been extended to match the command format of the "clear" command for clearing variables. Thus wildcards and regular expressions are allowed. The version also supports the "global" key word and Keep will not touch global variables unless the "global" key word is used.

Examples of supported formats:
keep var1 var2
keep var*
keep -regexp expr1
keep global
keep global var1
keep global -regexp expr1

引用

Mirko Hrovat (2024). Keep4 (https://www.mathworks.com/matlabcentral/fileexchange/7129-keep4), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2006a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersVariables についてさらに検索
謝辞

ヒントを得たファイル: keep, keep2, KEEP3

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0

Updated comments to improve code metrics.