File Exchange

image thumbnail

getscreen

version 1.0.0.0 (860 Bytes) by Lateef Adewale Kareem
GETSCREEN captures the screen

3 Downloads

Updated 24 Feb 2018

View License

% GETSCREEN captures the screen and returns a struct that could be used to
% make videos or written to an image file using the imwrite.
% For example:
% a = getscreen
% imwrite(a.cdata,'screen.jpg');
% To make a video
% vidObj = VideoWriter('Testvideo.avi');
% open(vidObj);
% for n = 1:100
% image = getframe(gcf);
% writeVideo(vidObj,image);
% end
% close(vidObj)

Cite As

Lateef Adewale Kareem (2021). getscreen (https://www.mathworks.com/matlabcentral/fileexchange/66185-getscreen), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2012b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!