필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

read mouse buttons without locking the code

조회 수: 1 (최근 30일)
R P
R P 2012년 2월 15일
마감: MATLAB Answer Bot 2021년 8월 20일
I need to present diffent images while monitoring mouse actions.
The ginput function seem adequate for me, however, it is not possible to execute other commands while ginput is turned on. Is it possible to run these actions in parallel?
Another posibility could be to alternate rapidly between graphic functions and ginput, but it would be necessary to turn ginput off after a time period...
does anyone have a suggestion?
thanks rp

답변 (1개)

Sean de Wolski
Sean de Wolski 2012년 2월 22일
Use the currentpoint property of an axes or figure instead of ginput. ginput is just a fancy wrapper around this anyway.
docsearch axes properties

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by