채택된 답변

Jan
Jan 2012년 2월 8일

1 개 추천

[EDITED]: You can capture the full screen by using the handle 0:
img = screencapture(0, 'Position', [0 0 1270 1023]);

댓글 수: 4

Prashant Somani
Prashant Somani 2012년 2월 10일
Thanks for sharing this solution. What i could understood that this tool captures Matlab windows, where else i want to capture current screen, which may include any running program. Please correct me if i have misunderstood this.
Kindly help me to get this
Jan
Jan 2012년 2월 11일
See [EDITED].
Ashutosh
Ashutosh 2020년 3월 24일
Even with the edited code, I am still having the problem of capturing the Matlab window.
Is there any other way around it?
Tom Bell
Tom Bell 2020년 6월 12일
Hi Ashutosh,
I just fixed this issue when using a Mac. You have to go to System Preferences -> Security & Prvacy -> Privacy and allow Matlab to record the contents of your screen.
Hope this helps!

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Prashant Somani
Prashant Somani 2012년 2월 13일

0 개 추천

Thank you sooooooooooooo much...

카테고리

도움말 센터File Exchange에서 Printing and Saving에 대해 자세히 알아보기

태그

질문:

2012년 2월 8일

댓글:

2020년 6월 12일

Community Treasure Hunt

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

Start Hunting!

Translated by