Stoping / breaking ginput (or ginput(n)) before entrering any value / clicking any single time

조회 수: 6 (최근 30일)
I'd like to be able to break the execution of ginput even before any interaction (clicks) has been made, but pressing Return does not seem to work in this case (it works otherwise).
Any suggestions?
Thanks

답변 (1개)

Les Beckham
Les Beckham 2025년 1월 31일
Ctrl-C will abort ginput (though it does throw an error).
  댓글 수: 3
Toni Urigüen
Toni Urigüen 2025년 2월 3일
Hi! I'm using Windows. I am doing a GUI and need to get some values when using ginput. But I also would like to be able to interrupt it even without any clicks...

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Graphics Performance에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by