Borrar filtros
Borrar filtros

How to display outputs from m file to GUI

4 visualizaciones (últimos 30 días)
Mahmoud
Mahmoud el 8 de Abr. de 2015
Comentada: Image Analyst el 12 de Abr. de 2015
I did an m file for image processing. The outputs of m files are texts and plots. I already linked pushbuttons in GUI so that once the user push a button, the operations are done for the images. Now how can I display the outputs in GUI?
Please, could you give a detailed answer with directions like where to put this and that :)

Respuesta aceptada

Jeffrey Girard
Jeffrey Girard el 8 de Abr. de 2015
You can display the plots on an axis that you create on the GUI figure. For text, you could also put it on an axis using the text() function, or you can output them on an edit box or listbox that you create using uicontrol() or on a table you create using uitable().
  2 comentarios
Mahmoud
Mahmoud el 12 de Abr. de 2015
but how to link the m file to the gui because each is separate.
Image Analyst
Image Analyst el 12 de Abr. de 2015
Make a single GUI. It's frustrating for the user to deal with a bunch of separate but related floating windows all over the place. It's complicated and messy. See http://blogs.mathworks.com/videos/category/gui-or-guide/

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by