How can I integrate a m.file consist of functions, input and output into MATLAB GUI
Mostrar comentarios más antiguos
Hi, I am doing a project with optimization concept whereby the end product is develop a GUI for it. As for starting level, i develop the functions using m.file whereby user will be asked for input and output will be shown. When convert the model GUI, I am having difficulties in assigning the functions into GUI. I got advised saying that call m.file from GUI to run the program. I would like to know how to assign value from edit box in GUI and pass the values to m.file, and display the result in GUI text box. Thanks in advance for your help.
Respuestas (1)
Alan Weiss
el 28 de Jul. de 2015
0 votos
You should probably look at an example of a GUI and how the callback gets implemented. Here is a GUI that I wrote. If you don't care about Sudoku, you can just look at how the callbacks are implemented.
Good luck,
Alan Weiss
MATLAB mathematical toolbox documentation
1 comentario
Categorías
Más información sobre Surrogate Optimization en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!