'WindowButtonMotionFcn' function not working on my Mac OS X but works on Windows

1 view (last 30 days)
I am using a Mac and have MATLAB R2009b installed in it.
I have used set(fig, 'WindowButtonMotionFcn','mouseLoc = get(gca, ''CurrentPoint'');'); in my code but this is not working as the mouseLoc vector is not being updated. However when I try the SAME code on a computer running Windows, it functions normally.
Please tell me how do I fix this problem as I have a project due and I can only work on my Mac. Thank you

Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!