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
No products are associated with this question.