Effacer les filtres
Effacer les filtres

Print Screen

30 vues (au cours des 30 derniers jours)
Prashant Somani
Prashant Somani le 8 Fév 2012
Commenté : Tom Bell le 12 Juin 2020
How can i take screen shot with help of matlab?

Réponse acceptée

Jan
Jan le 8 Fév 2012
[EDITED]: You can capture the full screen by using the handle 0:
img = screencapture(0, 'Position', [0 0 1270 1023]);
  4 commentaires
Ashutosh
Ashutosh le 24 Mar 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 le 12 Juin 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!

Connectez-vous pour commenter.

Plus de réponses (1)

Prashant Somani
Prashant Somani le 13 Fév 2012
Thank you sooooooooooooo much...

Catégories

En savoir plus sur Printing and Saving dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by