No License
function a=screensnap(b)
% screensnap is a mex file to snap the screen
% the input b is double data
% when b=0,the snapped screen excluding the matlab window
% else, the snapped screen including the matlab window
% compile to use>> mex screensnap.c user32.lib gdi32.lib
% usage:1, >>a=screensnap(0) %exclude the matlab window
% >>imshow(a);
% 2, >>a=screensnap(1); %include the matlab window
% >> imshow(a);
% designed by darnshong
% chenzushang@sina.com http://darnshong.52blog.net
% 2005-12-18
Cite As
Darnshong chen (2026). snap the screen (https://www.mathworks.com/matlabcentral/fileexchange/9393-snap-the-screen), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
screensnap/
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
