empty entry using ginput !!
이전 댓글 표시
Hello! I am using the function ginput in order to get the coordinates from a figure but I get x and y as a 0x0 double, any possible reason for this, the code I am using to do so is really very basic!
while ~isempty(t)
[x,y]=ginput(1);
end
채택된 답변
추가 답변 (1개)
Image Analyst
2016년 11월 23일
0 개 추천
Are you sure you're not just hitting enter before left-clicking, or maybe you're right clicking instead? For me, when I left click, x and y definitely have values.
카테고리
도움말 센터 및 File Exchange에서 Data Exploration에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!