I need a starter program to respond to mouse events on gui. I also want to fo different actions on different combinations of buttons

 채택된 답변

Khalid Mahmood
Khalid Mahmood 2021년 4월 19일

1 개 추천

I have made a simple figure to detect keyboard and mouse events. It will work as a starter for events proessing on GUI. My code is attached:

추가 답변 (1개)

Sufia Tanveer
Sufia Tanveer 2021년 4월 19일

0 개 추천

Wow, its excellent starter.
Simple and self explanatory but yet masterpiece

댓글 수: 1

Sufia Tanveer
Sufia Tanveer 2021년 4월 19일
편집: Sufia Tanveer 2021년 4월 19일
How Great and Easy is Matlab.But you are true, as you have mentioned in your link above, I can not distinguish ctrl+ right mouse and ctrl+left mouse buttons. Strange !
Anyhow thanks a lot for quick help

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

카테고리

도움말 센터File Exchange에서 Desktop에 대해 자세히 알아보기

질문:

2021년 4월 19일

편집:

2021년 4월 19일

Community Treasure Hunt

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

Start Hunting!

Translated by