getscreen

Replacement for getframe for multiple-monitor systems. Also takes screenshots of non-MATLAB windows.

您现在正在关注此提交

GETSCREEN works just like the MATLAB function getframe, but works on any monitor, not just the primary one. (Getframe gives an error if you use it on a figure displayed on your second monitor) Can also be used to take screenshots from any area of your display, whether or not it is a MATLAB figure.

Syntax is the same as getframe, and can be used to capture entire figures or axes, or a rectangular subarea of these. Can also be called using just a position vector to take a screenshot of that area of your display, regardless of whether it is a MATLAB figure or not.

Uses java.awt.robot to take screenshots, so it requires java.

引用格式

matt dash (2026). getscreen (https://ww2.mathworks.cn/matlabcentral/fileexchange/22031-getscreen), MATLAB Central File Exchange. 检索时间: .

类别

Help CenterMATLAB Answers 中查找有关 Convert Image Type 的更多信息

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.3.0.0

updated inspired by

1.0.0.0