Is it possible to automate a GUI and save the output in a spreadsheet?
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Nik
il 20 Lug 2017
Risposto: Walter Roberson
il 20 Lug 2017
I currently have a GUI that takes video files, allows a user to select a region of interest, and saves that as a .mat file. It gives an output of a few variables, a graph, and model fitting the data. Is there a way that I can load multiple .mat files at once, have the gui select the plot button, and save the parameters in a spreadsheet? I have hundreds of regions of interest that would take a very long time to run through again. It would also be helpful to save the graphs if that would be possible.
0 Commenti
Risposta accettata
Walter Roberson
il 20 Lug 2017
Yes, you could use Java Robot class to automate clicking on the various buttons.
However, it is generally easier to instead find the various callback routines and call them directly. Or in the case of GUIDE, easier to instead find the callback string or callback anonymous function and invoke it, as that already offers a mechanism that allows outside code to invoke internal functions (which would otherwise be a technical challenge to overcome.)
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Robotics in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!