Disabling keyboard output to the Command Window
14 次查看(过去 30 天)
显示 更早的评论
Hello all,
I am currently using catching keyboard input (using ginput) in a GUI to control figure properties, e.g., zoom, scroll, colouring, area selection. However, when I hold down a key for a while, the autorepeat causes the GUI figure to lose focus and the key letter to be displayed at the Command Window.
How do I disable (and re-enable) keyboard output to the Command Window?
Many thanks in advance,
James
0 个评论
采纳的回答
Jan
2011-4-11
How do you use GINPUT to control zoom etc? I think the KeyPressFcn or the WindowKeyPressFcn to be more useful - and they catch keystrokes before they are forwarded to the command line. See:
docsearch KeyPressFcn
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Exploration 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!