display info while ginput() waits
7 views (last 30 days)
Show older comments
William Rose
on 12 Jan 2017
Commented: Ahmad Gad
on 19 Jan 2024
How can I display and update the current mouse position while ginput() is waiting for the user to click? I have tried using textarea=uitextarea('Value',str1); but it only displays something once, after the user clicks. Thank you.
2 Comments
John BG
on 12 Jan 2017
look in the file exchange, there are already available solutions for this question
Accepted Answer
Walter Roberson
on 19 Jan 2017
Information thanks to Han Oostdijk at https://www.mathworks.com/matlabcentral/newsreader/view_thread/296770
1 Comment
Ahmad Gad
on 19 Jan 2024
It looks like this function doesn't work for most recent MATLAB versions. Do you have any alternatives in mind? Thank you!
More Answers (1)
Vishal Neelagiri
on 18 Jan 2017
Edited: Walter Roberson
on 19 Jan 2017
You might want to have a look at this custom ginput function submitted via MATLAB File Exchange:
See Also
Categories
Find more on Annotations 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!