nclear

バージョン 1.0.0.0 (1.44 KB) 作成者: junziyang
Clear all the other variables from the callers workspace except the specified ones.
ダウンロード: 510
更新 2009/6/1

ライセンスの表示

Clear all the other variables from the callers workspace except the specified ones.

Useful when you have a lot of variables in the workspace and only want to keep a few of them and clear all the others.

%NCLEAR Clear all the other variables from the caller's workspace except the specified ones.
% NCLEAR(VAR1,VAR2,....) clears all the other variables except VAR1,VAR2,...
% NCLEAR('VAR1','VAR2',...) clears all the other variables except VAR1,VAR2,...
% NCLEAR() clears all the variables, save as CLEAR

引用

junziyang (2025). nclear (https://www.mathworks.com/matlabcentral/fileexchange/24319-nclear), MATLAB Central File Exchange. に取得済み.

MATLAB リリースの互換性
作成: R2009a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersWorkspace Variables and MAT-Files についてさらに検索
タグ タグを追加

Community Treasure Hunt

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

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