display info while ginput() waits
7 次查看(过去 30 天)
显示 更早的评论
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 个评论
John BG
2017-1-12
look in the file exchange, there are already available solutions for this question
采纳的回答
Walter Roberson
2017-1-19
Information thanks to Han Oostdijk at https://www.mathworks.com/matlabcentral/newsreader/view_thread/296770
1 个评论
Ahmad Gad
2024-1-19
It looks like this function doesn't work for most recent MATLAB versions. Do you have any alternatives in mind? Thank you!
更多回答(1 个)
Vishal Neelagiri
2017-1-18
编辑:Walter Roberson
2017-1-19
You might want to have a look at this custom ginput function submitted via MATLAB File Exchange:
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!