getscreen
by matt dash
08 Nov 2008
(Updated 17 Nov 2008)
Replacement for getframe for multiple-monitor systems. Also takes screenshots of non-MATLAB windows.
Download Now
|
Watch this File
|
| File Information |
| Description |
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. |
| Acknowledgements |
The author wishes to acknowledge the following in the creation of this submission:
screencapture
|
| MATLAB release |
MATLAB 7.6 (R2008a)
|
| Other requirements |
java. Only tested in Windows (xp and vista). |
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 17 Nov 2008 |
updated inspired by |
|
Public Submission Policy
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for
all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content.
Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available
via MATLAB Central.
Read the complete Disclaimer prior to use.
Contact us at files@mathworks.com