MATLAB: Does the GINPUT function not work on Mac OS in MATLAB 7.0.1 (R14SP1)

emptyginputmacMATLABmatrix

When I run the following commands:
plot(1:10)
x = ginput
and then go to the figure and click once on the figure, then press enter.
I get an empty matrix. If I click twice, I get x, y data corresponding to the second click. The data corrsponding to thr first click is lost.

Best Answer

This bug has been fixed in Release 14 Service Pack 3 (R14SP3). For previous product releases, read below for any possible workarounds:
There is a bug in MATLAB 7.0.1 (R14SP1) in the way that GINPUT is handled.
There are no workarounds.