Mouse events starter program for Matlab gui

3 次查看(过去 30 天)
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
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
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

请先登录,再进行评论。

类别

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