|
From: | arkkimede |
Subject: | Re: How to get the CurrentKey? |
Date: | Wed, 30 Oct 2019 11:40:50 +0100 |
Hello everyone,
I am trying to "translate" my program from Matlab to Octave and I need help:
I have to know, how I can get the keyboard inputs in Octave. I want to
choose a point in many images with "ginput()" and I want to accept/delete it
with "Return" or "Escape" etc...
Matlab:
currkey=get(gcf,'CurrentKey');
if strcmp(currkey, 'return')
"Do this and that"
end
I would like to solve this without a GUI :)
Thank you very much.
Prometheus
--
Sent from: https://octave.1599824.n4.nabble.com/Octave-General-f1599825.html
[Prev in Thread] | Current Thread | [Next in Thread] |