Run an external program and control the "buttons" in GUI
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Jan
am 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.
Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!