How can we continuously save the mouse tracking positions with respect to time in workspace

2 views (last 30 days)
I am designing an experiment (moving mouse pointer between two targets) where I want to record the mouse pointer locations for a specific period of time. I went through several callback functions using windowmotionbuttonfuction and get(gcf, "CurrentPosition"). But, as I read in several threads, we cannot save data in workspace using callback functions. Is there an alternative approach to record mouse pointer loactions? Any help will be appreciated. Thanks!

Accepted Answer

Walter Roberson
Walter Roberson on 10 Jan 2022

More Answers (0)

Community Treasure Hunt

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

Start Hunting!