How can I clear the workspace but not breakpoints?
4 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
更多回答(1 个)
Jonathan Epperl
2012-10-25
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Workspace Variables and MAT-Files 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!