开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜