Mouse events starter program for Matlab gui

2 Ansichten (letzte 30 Tage)
Sufia Tanveer
Sufia Tanveer am 19 Apr. 2021
Bearbeitet: Sufia Tanveer am 19 Apr. 2021
I need a starter program to respond to mouse events on gui. I also want to fo different actions on different combinations of buttons

Akzeptierte Antwort

Khalid Mahmood
Khalid Mahmood am 19 Apr. 2021
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:

Weitere Antworten (1)

Sufia Tanveer
Sufia Tanveer am 19 Apr. 2021
Wow, its excellent starter.
Simple and self explanatory but yet masterpiece
  1 Kommentar
Sufia Tanveer
Sufia Tanveer am 19 Apr. 2021
Bearbeitet: Sufia Tanveer am 19 Apr. 2021
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

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Migrate GUIDE Apps finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by