too many outputs for ginput - documentation error?
2 ビュー (過去 30 日間)
古いコメントを表示
I would like to get only the x-coordinates for ginput. I was surprised to discover that ginput returns X and Y coordinates when only one output is requested. This doesn't seem to be documented behavior. Am I missing something?
XY = ginput(2);
[X,Y] = ginput(2);
0 件のコメント
採用された回答
Walter Roberson
2024 年 12 月 21 日
You are not missing anything. The behaviour of returning both X and Y together in one output is undocumented .
(It might perhaps have been documented long long ago; it is not documented now.)
その他の回答 (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!