How can I clear the workspace but not breakpoints?

If I use "clear all", the workspace is cleared, so are breakpoints set in the files. Is there any approach to prevent clearing breakpoints? Of course I don't want to specify variable names after "clear".
Thanks!

 採用された回答

Matt J
Matt J 2012 年 10 月 25 日
編集済み: Matt J 2012 年 10 月 25 日

2 投票

CLEARVARS or just CLEAR without "all".

その他の回答 (1 件)

Jonathan Epperl
Jonathan Epperl 2012 年 10 月 25 日

1 投票

Or
clear variables
which will clear all variables, but nothing else. See help clear for other possible keywords (one of which all is, too).

カテゴリ

ヘルプ センター および File Exchange で Workspace Variables and MAT Files についてさらに検索

質問済み:

2012 年 10 月 25 日

Community Treasure Hunt

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

Start Hunting!

Translated by