KbWait not working properly
11 次查看(过去 30 天)
显示 更早的评论
Dear all I am using KbWait function, it seems it is not working properly, since nothing happen when I run my script, that is:
left = KbName('leftarrow');
right = KbName('rightarrow');
mW = figure(1);
image1 = imread('MYFIGURE.png');
[secs,keyCode] = KbWait; %waits for a key press
What's wrong with this script? Thank you!
2 个评论
Titus Edelhofer
2015-3-25
Hi Fed,
KbName and KbWait are not functions provided by MathWorks, where did you get them from? The one who wrote these functions/scripts should be able to help ...
Titus
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!