Run an external program and control the "buttons" in GUI
7 views (last 30 days)
Show older comments
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
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.
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!