- Press enter
How to end ginput?
18 ビュー (過去 30 日間)
古いコメントを表示
I have a code that uses ginput to gather data. I keep getting this message when I am done gathering data and close the figure.
Error using ginput (line 81)
Interrupted by figure deletion
Error in plotdecon5b (line 52)
[x,k]=ginput;
Is there a way to tell ginput I am done selecting data and not have to close the figure?
0 件のコメント
採用された回答
Jos (10584)
2016 年 5 月 31 日
try, xy = ginput, catch end
3 件のコメント
Jos (10584)
2016 年 6 月 1 日
?? On my matlab version ginput is exited by pressing enter. I think the code you are using is flawed ...
Adam Danz
2020 年 9 月 25 日
Jos is correct and it's clearly stated in the documentation.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Data Exploration についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!