Keyboard automation Matlab 2016

How can I automate keyboard in the sense if I put a condition and it matches then it should press the next arrow?
I was using this
key.keyPress (java.awt.event.KeyEvent.VK_RIGHT);
key.keyRelease (java.awt.event.KeyEvent.VK_RIGHT );
But it doesn't seem to be working in Matlab 2016

Antworten (0)

Kategorien

Tags

Gefragt:

am 16 Apr. 2016

Bearbeitet:

am 16 Apr. 2016

Community Treasure Hunt

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

Start Hunting!

Translated by