Launch Java app & populate entry fields via Matlab
1 次查看(过去 30 天)
显示 更早的评论
I have a couple programs I run frequently that all written in Java and are bundled as double-clickable JAR files. The programs each have a number of fields to populate with values before running. Is there any way I can launch the app in Matlab, populate the fields via Matlab, and click run via Matlab? Basically, I'm looking to automate the tedious entry of values in the Java app. (Average Matlab skills, zero Java skills; would also consider Python or R instead of Matlab if that is better.) Thanks for any help
0 个评论
采纳的回答
Walter Roberson
2018-10-26
Yes, you can use Java Robot Class.
... But getting the positioning right is a pain, because there is only positioning by coordinates, not by field.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Call Java from MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!