开发者

matlab - winopen(), reading from the keyboard in fullscreem window

开发者 https://www.devze.com 2023-02-05 11:07 出处:网络
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\

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

精彩评论

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