exclude

Version 1.0.0.0 (1.33 KB) by Jeffrey
Function excludes figures from being closed with 'close all.'
399 Downloads
Updated 24 Jul 2009

View License

Function first stores the closerequestfcn into appdata, then sets it to blank. When using 'close all', close or hitting the red box in the upper right occurs figure will remain open. This allows the user to keep figures around while generating others and using close all to rapidly get rid of the ones that are of no more interest.

To reset the closerequestfcn use include (useful for GUIs that have a close out sequence). Alternatively one can use delete or 'close all force' to close figures that have been excluded.

Cite As

Jeffrey (2024). exclude (https://www.mathworks.com/matlabcentral/fileexchange/24844-exclude), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2006b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Printing and Saving in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0