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 계정에 로그인하거나 계정을 새로 만드십시오.