How can I clear the workspace but not breakpoints?
4 views (last 30 days)
Show older comments
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!
0 Comments
Accepted Answer
More Answers (1)
Jonathan Epperl
on 25 Oct 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).
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!