How to display outputs from m file to GUI

2 Ansichten (letzte 30 Tage)
Mahmoud
Mahmoud am 8 Apr. 2015
Kommentiert: Image Analyst am 12 Apr. 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 :)

Akzeptierte Antwort

Jeffrey Girard
Jeffrey Girard am 8 Apr. 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 Kommentare
Mahmoud
Mahmoud am 12 Apr. 2015
but how to link the m file to the gui because each is separate.
Image Analyst
Image Analyst am 12 Apr. 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/

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Migrate GUIDE Apps finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by