Hi, is there any way to get the time for how long the mouse button is pressed. I have to detect the mouse press and release events also
how to detect mouse click and release using matlab commands
8 ビュー (過去 30 日間)
古いコメントを表示
I want to record the duration of mouse press. how can I do it I`m able to capture the mouse press event. Pls help me how to capture the mouse release event also
Thanks chandrasekhar
採用された回答
Walter Roberson
2013 年 6 月 8 日
For the timing, you can store the result of tick() somewhere when you get the button down event, and then toc() against that value when you get the button up event.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で ActiveX についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!