필터 지우기
필터 지우기

function that call esc key in m file in gui

조회 수: 4 (최근 30일)
mary
mary 2011년 6월 19일
hi dudes, i want to terminate imellipse "wait for user" state and i just noticed that this happens by presing esc key. now i want a way as if ESC key is pressed while actually it's not pressed by user, any idea? thanks

답변 (1개)

Jan
Jan 2011년 6월 19일
Hitting ESC calls "imellipse/resume". So I assume "imeH.resume" might solve your problem, with imeH is the handle of the IMELLIPSE object.
But you can simulate a keyboard hit using the java.awt.robot also, see: Undocumented: Robot.

카테고리

Help CenterFile Exchange에서 Labels and Annotations에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by