ワークスペースから指定した変数以外の全ての変数を削除することはできますか?
Afficher commentaires plus anciens
複数の変数が定義されているときに、指定された変数以外の全ての変数を削除を教えてください。
例えば、
A = 1; B = 2; C = 3;
のときに、
notclear A
のような関数を実行すると、変数 A のみがワークスペースに残るといった機能です。(notclear は、既存の関数ではありません)
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur MATLAB dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!