Incorrect results for button output of ginput returned when double clicking
Show older comments
When clicking the center or right mouse buttons multiple times very quickly, the second and third results for the 'button' output is incorrectly given as 1 (left mouse click).
Running the following code and click the right button rapidly on the axes.
[x,y,button] = ginput(3)
The 'button' output has many 1's registered. Why does this happen?
Accepted Answer
More Answers (0)
Categories
Find more on Data Exploration in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!