How can I clear the workspace but not breakpoints?

5 ビュー (過去 30 日間)
ColdKing
ColdKing 2012 年 10 月 25 日
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 日
CLEARVARS or just CLEAR without "all".

その他の回答 (1 件)

Jonathan Epperl
Jonathan Epperl 2012 年 10 月 25 日
Or
clear variables
which will clear all variables, but nothing else. See help clear for other possible keywords (one of which all is, too).

カテゴリ

Help Center および File ExchangeWorkspace Variables and MAT Files についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by