Mousetrack

Track the motion of your mouse over an image.
5.9K Downloads
Updated 27 Jul 2004

View License

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 (2024). Mousetrack (https://www.mathworks.com/matlabcentral/fileexchange/5535-mousetrack), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired: CursorPrediction(), Mouse Point Location Sampler

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0