MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayMATLAB Central > MATLAB Newsreader > ginput problem 

I'm having trouble with the ginput command. I use it in a program to extract data points from a graph displayed on screen by clicking the mouse on the axes and plot. Previously, this program and ginput worked without any problem. However, just today I tried to use the program again and nothing happened after the first use of ginput. I selected the points on the plot and pressed return, after which Matlab displayed the 'busy' status indicator but did not move on to the next part of the program. When forcing the program to stop through controlc, I got the following message: 
"Michael Spurr" <michael.spurr@nospam.selexgalileo.com> wrote in message <gho80e$bv2$1@fred.mathworks.com>... 
This is highly embarassing, but it turns out I was pressing 'return' on the wrong window! I was doing it on the Matlab window rather than the image window. It appears that my brain is already shutting down for the Christmas period! 
"Michael Spurr" <michael.spurr@nospam.selexgalileo.com> wrote in message <gi54pq$gin$1@fred.mathworks.com>... 
On Nov 12, 4:30 pm, "Yagnaseni Roy" <y...@mit.edu> wrote: 
"Michael Spurr" <michael.spurr@nospam.selexgalileo.com> wrote in message <gho80e$bv2$1@fred.mathworks.com>... 
"Yagnaseni Roy" <yroy@mit.edu> wrote in message <j9ma3r$mu6$1@newscl01ah.mathworks.com>... 
On Nov 13, 7:15 am, "Yagnaseni Roy" <y...@mit.edu> wrote: 
"Yagnaseni Roy" <yroy@mit.edu> wrote in message <j9md3i$279$1@newscl01ah.mathworks.com>... 
TideMan <mulgor@gmail.com> wrote in message <d3533ecaf3454cfea078036aba2803dc@h5g2000yqk.googlegroups.com>... 
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.