No BSD License  

Highlights from
snap the screen

4.66667

4.7 | 3 ratings Rate this file 5 Downloads (last 30 days) File Size: 149.67 KB File ID: #9393
image thumbnail

snap the screen

by Darnshong chen

 

17 Dec 2005 (Updated 19 Dec 2005)

matlab mex file to snap the screen

| Watch this File

File Information
Description

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

MATLAB release MATLAB 7.0.4 (R14SP2)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (4)
23 Dec 2005 year han

I lile it. It can capture the screen perfectly.

10 Jun 2006 chen chen

tie

06 Feb 2007 sandeep kuber

it is very good

07 Mar 2007 riyaz azam

can u plz tell me how to interface camera with matlab n abstract the pic.

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
image generation Darnshong chen 22 Oct 2008 08:10:08
snap Darnshong chen 22 Oct 2008 08:10:08
screen Darnshong chen 22 Oct 2008 08:10:08
win32 Darnshong chen 22 Oct 2008 08:10:08
api Darnshong chen 22 Oct 2008 08:10:08
dll Darnshong chen 22 Oct 2008 08:10:08
mex Darnshong chen 22 Oct 2008 08:10:08

Contact us at files@mathworks.com