ワークスペースから指定した変数以外の全ての変数を削除することはできますか?
Show older comments
複数の変数が定義されているときに、指定された変数以外の全ての変数を削除を教えてください。
例えば、
A = 1; B = 2; C = 3;
のときに、
notclear A
のような関数を実行すると、変数 A のみがワークスペースに残るといった機能です。(notclear は、既存の関数ではありません)
Accepted Answer
More Answers (0)
Categories
Find more on MATLAB in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!