executing a program then loading results into the matlab GUI?

1 view (last 30 days)
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.

Accepted Answer

Robert Cumming
Robert Cumming on 3 Jun 2011
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 Comments
Sarla
Sarla on 6 Jun 2011
its a lovely tutorial.helped a lot. but i still have a lot of questions that need answering.
Robert Cumming
Robert Cumming on 6 Jun 2011
no doubt, but they will give you a platform to build on, come back when you have specific questions

Sign in to comment.

More Answers (0)

Categories

Find more on Graphics Performance in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!