Close All But…
Like this blog post, today's Pick is short and sweet. File cab.m, by new first-time contributor Karl, allows you to keep only the figures you specify, and to close the rest .
Back in 2004, our predecessor Doug Hull selected file keep as a Pick of the Week. In that write-up, Doug wrote: "I find KEEP to be one of those functions I use so much that I forget it isn't part of MATLAB." I couldn't agree more, and today's Pick is a great companion; it's the "figure version of keep."
So now I can use my own togglefig function to create my figures, and CAB to destroy them.
Comments? Share them here.
- 类别:
- Picks
评论
要发表评论,请点击 此处 登录到您的 MathWorks 帐户或创建一个新帐户。