Launch Java app & populate entry fields via Matlab

조회 수: 1 (최근 30일)
newbie9
newbie9 2018년 10월 26일
댓글: newbie9 2018년 10월 26일
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

채택된 답변

Walter Roberson
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.
  댓글 수: 1
newbie9
newbie9 2018년 10월 26일
blah, sounds like a pain, but thanks for pointing me in the right direction!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

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