Is it possible to get current of mouse position out of GUI scope?

조회 수: 1 (최근 30일)
Ara
Ara 2014년 8월 7일
편집: Ara 2014년 8월 7일
I want to find position of mouse in anywhere of screen. I only got position x,y in GUI boundary.
Is it possible to do it? and how to do?
Thank you :))

채택된 답변

Friedrich
Friedrich 2014년 8월 7일
Hi,
try
>> get(0,'PointerLocation')
  댓글 수: 2
Ara
Ara 2014년 8월 7일
Thank you very much :D
Ara
Ara 2014년 8월 7일
May I ask you one more question? It cannot point or click mouse when I use this code with GUI. How to fix it?
thank you

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by