executing a program then loading results into the matlab GUI?
5 次查看(过去 30 天)
显示 更早的评论
hi
i have a program. i execute it. i get answers in the command terminal.
now what i want to do, is to just display the results of the program using my gui. that is. i don't want to do any calculations or anything in the gui.
mainly because i have a lot of do while loops in the program. and i have not been able to figure out the same for the gui. plus it is already beginning to look messy.
all i want is that upon pressing certain pushbuttons of my gui the results of the program should be displayed in the respective text boxes. how do i manage this? i am only taking a single input from the user via the gui. is there anyway to make the whole thing like : 1. user input via gui 2. all calculations and everything elsewhere in another file 3. display result in gui.
p.s. i am a complete newbie when it comes to the matlab GUI. i did try and read up on the documentation. but i am still confused.
0 个评论
采纳的回答
Robert Cumming
2011-6-3
yes all of that is possible. I would advise that you have a look at these GUI examples to learn how GUI's work.
Once you have the basics and if you still have specific questions then come back with example code.
Good luck
2 个评论
Robert Cumming
2011-6-6
no doubt, but they will give you a platform to build on, come back when you have specific questions
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!