How can I clear the workspace but not breakpoints?

2 Ansichten (letzte 30 Tage)
ColdKing
ColdKing am 25 Okt. 2012
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!

Akzeptierte Antwort

Matt J
Matt J am 25 Okt. 2012
Bearbeitet: Matt J am 25 Okt. 2012
CLEARVARS or just CLEAR without "all".

Weitere Antworten (1)

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

Kategorien

Mehr zu Workspace Variables and MAT Files finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by