Print Screen

18 次查看(过去 30 天)
Prashant Somani
Prashant Somani 2012-2-8
评论: Tom Bell 2020-6-12
How can i take screen shot with help of matlab?

采纳的回答

Jan
Jan 2012-2-8
[EDITED]: You can capture the full screen by using the handle 0:
img = screencapture(0, 'Position', [0 0 1270 1023]);
  4 个评论
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
Thank you sooooooooooooo much...

类别

Help CenterFile Exchange 中查找有关 Printing and Saving 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by