% 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)
引用
Lateef Adewale Kareem (2024). getscreen (https://www.mathworks.com/matlabcentral/fileexchange/66185-getscreen), MATLAB Central File Exchange. 取得済み .
MATLAB リリースの互換性
作成:
R2012b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linuxカテゴリ
- MATLAB > Graphics > 2-D and 3-D Plots > Animation >
Help Center および MATLAB Answers で Animation についてさらに検索
タグ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!バージョン | 公開済み | リリース ノート | |
---|---|---|---|
1.0.0.0 |