Windows screenshots

Allows listing MS Windows' windows, setting their size, giving focus, and take screenshots.

You are now following this Submission

This constitutes a set of functions that allow one to take screenshots and perform some auxiliary tasks on windows.

On some Windows versions, it successfully takes screenshots of windows even when not visible.

Includes functions to:
- retrieve titles, size, position and HWNDs of system's windows

- set the size of a particular window

- put a window visible

- take a screenshot of a window

The code is implemented in c, and requires a working "mex environment".
This was tested with VC++2005 Pro. only.

Cite As

Frequency Domain (2026). Windows screenshots (https://in.mathworks.com/matlabcentral/fileexchange/42841-windows-screenshots), 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