matlab - winopen(), reading from the keyboard in fullscreem window
hi all
I wrote a short program that runs an avi file and records input from the keybpard while the开发者_C百科 avi is displaying. the problem is this. if the movie is in fill screen the program doesn't take the input from the keyboard. it takes the input only if the movie is minimizd. this is my code> close all
clc winopen('c:/optic2.avi') RT=[] for i=1:1:5 tic count=input(''); RT(i)=toc end xlswrite('c:/GS.xls',RT)
any ideas?
thanks
I usend KbChack from the psychtoolbox.
精彩评论