Effacer les filtres
Effacer les filtres

problem with getframe command

4 vues (au cours des 30 derniers jours)
Kamuran
Kamuran le 12 Juil 2015
Commenté : Image Analyst le 12 Juil 2015
Hi,
I am trying to use getframe to create movie from plots. Even when I use the example from MATLAB's help, i.e.,
surf(peaks) F = getframe(gcf);
I get an error:
??? Error using ==> capturescreen The rectangle passed to getframe must be at least partially on screen
Error in ==> getframe at 35 x=capturescreen(varargin{:});
anybody knows what might be the problem?
Thanks
Erdem
  1 commentaire
Image Analyst
Image Analyst le 12 Juil 2015
It thinks the current figure is not at all on the screen. Are you using a dual screen setup? Does it say the same thing if you move the figure to the other screen?

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Animation dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by