How can I clear the workspace but not breakpoints?

3 visualizaciones (últimos 30 días)
ColdKing
ColdKing el 25 de Oct. de 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!

Respuesta aceptada

Matt J
Matt J el 25 de Oct. de 2012
Editada: Matt J el 25 de Oct. de 2012
CLEARVARS or just CLEAR without "all".

Más respuestas (1)

Jonathan Epperl
Jonathan Epperl el 25 de Oct. de 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).

Categorías

Más información sobre Workspace Variables and MAT Files en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by