Azzera filtri
Azzera filtri

How can I clear the workspace but not breakpoints?

4 visualizzazioni (ultimi 30 giorni)
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!

Risposta accettata

Matt J
Matt J il 25 Ott 2012
Modificato: Matt J il 25 Ott 2012
CLEARVARS or just CLEAR without "all".

Più risposte (1)

Jonathan Epperl
Jonathan Epperl il 25 Ott 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).

Categorie

Scopri di più su Workspace Variables and MAT-Files in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by