Mousetrack

Track the motion of your mouse over an image.

You are now following this Submission

MOUSETRACK(X) retuns a Mx2 tensor, which containes the x and y position of the mouse cursor during it's motion over the selected image 'inmat'. Images can be real RGB image data, or any MxN matrix. The recording phase is started and stopped by a click on either mousebutton.

Cite As

Ralph Mettier (2026). Mousetrack (https://www.mathworks.com/matlabcentral/fileexchange/5535-mousetrack), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: CursorPrediction(), Mouse Point Location Sampler

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0