- http://www.mathworks.com/matlabcentral/fileexchange/31383-screenshotrgb--make-a-screenshot-using-robot-java-class
- http://www.mathworks.com/matlabcentral/fileexchange/11363-screencapture
- http://www.mathworks.com/matlabcentral/fileexchange/34960-multiple-monitors-screen-capture
- http://www.mathworks.com/matlabcentral/fileexchange/24323-screencapture-get-a-screen-capture-of-a-figure-frame-or-component
Make a screen shot using MATLAB and java.awt.Robot
5 ビュー (過去 30 日間)
古いコメントを表示
I want to make a screenshot using function createScreenCapture in java.awt.Robot. I can use java.awt.Robot for mouse and keyboard control. How can I use java.awt.Robot for make a screenshot? Or maybe there is something else?
P.S. Matlab give next answer:
import java.awt.Robot; vks = Robot; s_size = get(0, 'screensize'); Buffer=vks.createScreenCapture(s_size);
No method 'createScreenCapture' with matching signature found for class 'java.awt.Robot'.
Error in mouse_drive (line 7) Buffer=vks.createScreenCapture(s_size);
0 件のコメント
回答 (1 件)
Jan
2014 年 12 月 29 日
As usual such standard operations have been published in the FileExchange already. Searching there will offer solutions like these:
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!