exclude
Version 1.0.0.0 (1.33 KB) by
Jeffrey
Function excludes figures from being closed with 'close all.'
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 (2026). exclude (https://uk.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 LinuxCategories
Find more on Printing and Saving in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
