Screen Capture

Function to capture the screen, or portions of the screen. Uses java.awt.robot screen capture.
1.9K 次下载
更新时间 2012/4/30

查看许可证

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

引用格式

Chethan Pandarinath (2024). Screen Capture (https://www.mathworks.com/matlabcentral/fileexchange/36391-screen-capture), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2012a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Interactive Control and Callbacks 的更多信息
致谢

参考作品: screencapture

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
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