Snapshot

Program to take screenshot of modal GUI figures.

You are now following this Submission

Recently, while preparing a GUI function for submission to the file exchange I wanted to capture a screenshot, but I couldn't easily do it because the GUI function is modal and I couldn't run getframe from the command line. So, I wrote Snapshot. It facilitates taking a screenshot of a modal GUI figure or any other figure for that matter. It's very easy to use and the image is placed in a variable in the base workspace.

Cite As

Douglas Schwarz (2026). Snapshot (https://www.mathworks.com/matlabcentral/fileexchange/10846-snapshot), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0