Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

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

Asked by Mohammad Haseeb on 14 Nov 2013

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

0 Comments

Mohammad Haseeb

Products

No products are associated with this question.

0 Answers

Contact us