Executing the script file in GUI Callback
Mostra commenti meno recenti
Hello, I have to create a GUI where inputs are given into two text boxes and a graph is plotted for the corresponding inputs. Further upon pressing one more push button, I want the GUI to run the program from a script file and then return the output back to the GUI in the form of a table. The script file has a program of about 300 lines and hence I do not want to write the entire program under the callback. I am relatively new to Matlab and have no experience with using GUIDE. If any example GUI is available for reference, then it will be of great help. Thanks in advance.
Risposte (1)
Jan
il 8 Mar 2016
1 voto
There is not difference between writing the code directly into the callback or to a script file. The script file is processed exactly as it would be inserted in the calling code.
So what exactly is your question? What do you mean by "table"? A uitable, a matrix or a table obejct? Perhaps an Excel-Sheet or file?
1 Commento
Vineeth Bharadwaj P
il 8 Mar 2016
Categorie
Scopri di più su Interactive Control and Callbacks in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!