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

12 Ansichten (letzte 30 Tage)
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

Antworten (1)

Les Beckham
Les Beckham am 31 Jan. 2025
Ctrl-C will abort ginput (though it does throw an error).
  3 Kommentare
Toni Urigüen
Toni Urigüen am 3 Feb. 2025
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...

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Graphics Performance finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by