Executing the script file in GUI Callback
Mostrar comentarios más antiguos
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.
Respuestas (1)
Jan
el 8 de Mzo. de 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 comentario
Vineeth Bharadwaj P
el 8 de Mzo. de 2016
Categorías
Más información sobre Interactive Control and Callbacks en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!