A ".fig" file may have several images embedded within.
This function allows you to "find" the image data (findobj) and "get" the image data (cdata) from an open ".fig" file. If the original data is unavailable or if you want to make a QuickTime movie of 40 images in two ".fig" files (as I did), this is great! The screenshot shows 20 large images saved as a fig file but extracted into a nicely anotated QT movie (with 20 more images).
Chris Clayton (2021). extract_subplot_image (https://www.mathworks.com/matlabcentral/fileexchange/11450-extract_subplot_image), MATLAB Central File Exchange. Retrieved .
Inspired: getfigdata v1.1
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!