Using WindowKeyPressFcn with uicontrol
이전 댓글 표시
From my code
snap = uicontrol(f,'Style','pushbutton','String','Recognize',... 'units','characters',... 'Position',[5 1.5 30 5],'Callback',{@snapshot_callback});
How to push button by using key press from keyboard and if I want to push button by spacebar how to specify it?
Thank you so much :)
댓글 수: 2
Geoff Hayes
2014년 8월 16일
Ara - what is it exactly that you want to happen? Do you want a pressed key on the keyboard to simulate the pressing of a button on the GUI?
Ara
2014년 8월 17일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Debugging and Analysis에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
