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