Respuesta aceptada

Jan
Jan el 8 de Feb. de 2012

1 voto

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

4 comentarios

Prashant Somani
Prashant Somani el 10 de Feb. de 2012
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 el 11 de Feb. de 2012
See [EDITED].
Ashutosh
Ashutosh el 24 de Mzo. de 2020
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 el 12 de Jun. de 2020
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!

Iniciar sesión para comentar.

Más respuestas (1)

Prashant Somani
Prashant Somani el 13 de Feb. de 2012

0 votos

Thank you sooooooooooooo much...

Categorías

Más información sobre Printing and Saving en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 8 de Feb. de 2012

Comentada:

el 12 de Jun. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by