Wurfel, Jeff wrote:
Screen 'FillRect' will clear the contents of a window. Enter
SCREEN('FillRect?') at the Matlab command prompt for more information on
the FillRect command.
Note, if you show the identical six-frame movie thirty times then then
total number of offscreen windows should be 6, not 6*30. Make sure
that the "for i = 1:30" loop surrounds only the lines of your script
which display the movie. That loop should not include parts of the
script which generate the movie, the code which opens offscreen windows
and draws into them.
Best,
Allen
> ...i've looked all over the tutorial and the helpDear Jeff,
>files. is there anyway to clear the offscreen windows after i've used them
>without closing all the windows. i'm running into a problem where if i show
>a 6 frame movie about 30 times, all the offscreen windows that haven't been
>closed slow down the computer to the point where it can't open anymore.
>jeff
>
Screen 'FillRect' will clear the contents of a window. Enter
SCREEN('FillRect?') at the Matlab command prompt for more information on
the FillRect command.
Note, if you show the identical six-frame movie thirty times then then
total number of offscreen windows should be 6, not 6*30. Make sure
that the "for i = 1:30" loop surrounds only the lines of your script
which display the movie. That loop should not include parts of the
script which generate the movie, the code which opens offscreen windows
and draws into them.
Best,
Allen