java robot class help

5 次查看(过去 30 天)
Jeff Cichalski
Jeff Cichalski 2016-1-19
How do I get the java robot to type a word in Matlab instead of individual letters? Preferably I would want the robot to type a value that Matlab generates. This would type in an input into another program. Alternatively, does anyone know how to type into a separate program without opening a new window? I just need Matlab to activate a program with an input (which I do have working) then do some math from the external program then do another input command without closing and/or reopening the program. Help?

回答(1 个)

Walter Roberson
Walter Roberson 2016-1-19
You need a key press and key release for every character.

类别

Help CenterFile Exchange 中查找有关 Call Java from MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by