executing a program then loading results into the matlab GUI?

2 visualizaciones (últimos 30 días)
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.

Respuesta aceptada

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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre MATLAB en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by