delete( findall(0, 'type','image') )
Note: if you used something like imshow() to display the image, then this will only get rid of the image itself and not the imshow frame.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!