Run an external program and control the "buttons" in GUI

7 views (last 30 days)
I am trying to run an external program through MATLAB. By doing as written below I managed to open the program GUI. Now I would like to control the buttons that appear in the GUI. So my question is, how can I do so?
% Open AKPA through MATLAB
cd 'C:\AKPA\AKPA-CP-DT_60' %set path to software directory
!AKPA6.exe &
  2 Comments
Gonçalo Guedes
Gonçalo Guedes on 9 Nov 2021
Hello,
I have the same problem! Did you manage to solve?
Jan
Jan on 9 Nov 2021
@Gonçalo Guedes: Sorry, but usually the buttons are controlled by pressing them with the mouse. So please elaborate, what you want to do with details.
The java.awt.robot allows to move the mouse an to simulate clicks on the mouse buttons. AutoHotKey is a tool to controll GUIs also.

Sign in to comment.

Answers (0)

Categories

Find more on App Building in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!