matlab get mouse coordinates on image without clicking (on mouse over)
问题 I've been googling for a while to find a solution to this apparently simple problem: getting mouse coordinates in image axes while the mouse is moving (without clicking). I've found that impixelinfoval does exactly this but I'm not able to extract the pixel coordinates from this uicontrol in the script (are they stored in some field?). I've also found that ginput gives you the coordinates but only if you click. Do you know any workaround for one of these two issues? Are you aware of any