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

7 Ansichten (letzte 30 Tage)
Stian Sivertsgård
Stian Sivertsgård am 30 Mär. 2019
Kommentiert: Jan am 9 Nov. 2021
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
Gonçalo Guedes
Gonçalo Guedes am 9 Nov. 2021
Hello,
I have the same problem! Did you manage to solve?
Jan
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.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu App Building finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by