screencapture
by Matlab-CENTRAL, SG-Lib Toolbox: SolidGeometry 5.6 - User interface
, Creation date: 2021-12-10, Last change: 2025-09-15
returns the full screen as frame, i.e. also confidential inforamtion in other applications
Description
Handle with care, since it is possible to send data using matlab
On the other hand, it is also possible to readout the commandwindow and editorscren if undocked which can be used for lectures too
See Also: , gcasnapshot
, snapplot
Example Illustration
Syntax
imgData=screencapture([scsize])
Input Parameter
scsize: | | [start end cols rows]; default is get(0,'ScreenSize'); |
Output Parameter
imgData: | | rows x cols x 3 as uint8 |
Examples
Just call
screencapture;
I=screencapture; whos I
screencapture([10 10 20 20 ]); whos ans
This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth
Last html export of this page out of FM database by TL: 2025-09-21