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 日

1 投票

You need a key press and key release for every character.

カテゴリ

ヘルプ センター および File ExchangeCall Java from MATLAB についてさらに検索

質問済み:

2016 年 1 月 19 日

回答済み:

2016 年 1 月 19 日

Community Treasure Hunt

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

Start Hunting!

Translated by