Matlab GUI Automation?

Say someone created the Matlab GUI using GUIDE. Now I want to use this code in a software environment - it is not a person in a loop. What is the easiest way for me to โ€œscriptโ€ a personโ€™s interaction with the GUI to manipulate the various controls in the appropriate sequence, to make the tool crunch my numbers and get its results? I am looking for a non-invasive way to reuse the capabilities of this tool. My ideal programming environment for invoking Matlab functionality would be Java.

I can open GUIDE.fig and trace all the callback functions on various controls, but the design template seems to have to drag all the data into the handle variable.

I have the option to use Matlab Builder JA for Java to generate Java classes if this is useful anyway. Any suggestions would be appreciated.

+3
source share
2 answers

MTALAB GUI is a Java graphical interface. For GUI automation, there is a recent post on Yair Altman's blog: http://undocumentedmatlab.com/blog/gui-automation-robot/

The following applies only if you can rewrite the application.

- GUI , . : - > -- > GUI. - -, . Business Logic , GUI. MVC MATLAB.

GUIDE. MATLAB , .

- GUI Logic, GUIDE , - .

+4

post.

guiname('pushbutton', object, eventdata, handles)

'guiname'.

MVC. "" .

+1

Source: https://habr.com/ru/post/1765715/


All Articles