problem with getframe command

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

Image Analyst
Image Analyst 2015년 7월 12일
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?

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

답변 (0개)

카테고리

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

태그

질문:

2015년 7월 12일

댓글:

2015년 7월 12일

Community Treasure Hunt

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

Start Hunting!

Translated by