Screen Capture

Function to capture the screen, or portions of the screen. Uses java.awt.robot screen capture.

Vous suivez désormais cette soumission

Based on this excellent screencapture script by Saurabh Kumar: http://www.mathworks.com/matlabcentral/fileexchange/11363-screencapture

Added a function wrapper to make it more convenient, also added options to be able to capture subregions instead of the full screen, and data can be returned as a Matlab image rather than just a file.

Jan Simon noted this implementation by Yair Altman which has many more options:
http://www.mathworks.com/matlabcentral/fileexchange/24323-screencapture-get-a-screen-capture-of-a-figure-frame-or-component

Citation pour cette source

Chethan Pandarinath (2026). Screen Capture (https://fr.mathworks.com/matlabcentral/fileexchange/36391-screen-capture), MATLAB Central File Exchange. Extrait(e) le .

Remerciements

Inspiré par : screencapture

Catégories

En savoir plus sur Interactive Control and Callbacks dans Help Center et MATLAB Answers

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.5.0.0

fixed minor issue with default args

1.4.0.0

added a link to Yair's version

1.1.0.0

Modified code to run much faster.

1.0.0.0