how to use the kbhit function to poll for keypress
9 次查看(过去 30 天)
显示 更早的评论
i came across this function khbit by Amanda but i cant figure out how to use it. i initialize the function and press a key but it did not register anything at all. anyone with any idea how this function work?
what im trying to do is to see if the user press a key eg: Enter during program execution. if the particular key is pressed, the program should perform other task.
0 个评论
回答(1 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!