MATLAB: How to programmatically control the keyboard

java.awt.robotkeyboardrobot

I want to programmatically control the keyboard.
The mouse can be controlled using the java.awt.Robot library but can this be used to control the keyboard?

Best Answer

I found the answer here: GUI automation using a Robot
Related Question