help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to get the CurrentKey?


From: arkkimede
Subject: Re: How to get the CurrentKey?
Date: Wed, 30 Oct 2019 11:40:50 +0100

But in octave ginput() works fine....
You can not use it?

Il giorno mer 30 ott 2019 alle ore 11:26 Prometheus <address@hidden> ha scritto:
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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]