How can I integrate a m.file consist of functions, input and output into MATLAB GUI
3 views (last 30 days)
Show older comments
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.
0 Comments
Answers (1)
Alan Weiss
on 28 Jul 2015
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
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!