[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How to get the CurrentKey?
From: |
Prometheus |
Subject: |
How to get the CurrentKey? |
Date: |
Wed, 30 Oct 2019 05:26:15 -0500 (CDT) |
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
- How to get the CurrentKey?,
Prometheus <=