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

Answers (0)

Categories

Tags

Asked:

on 16 Apr 2016

Edited:

on 16 Apr 2016

Community Treasure Hunt

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

Start Hunting!