File Exchange Pick of the Week

Our best user submissions

Widgetpalooza: 12 widgets coded up in a GUI 9

Posted by Doug Hull,

This short video starts with two minutes of trying every widget on the example GUI. Then there is five and a half minutes of showing the callbacks on the widgets.

  • Push button
  • Push button with a picture
  • Radio button
  • Edit box
  • Multi-line edit box
  • Toggle button
  • List box
  • Popup menu
  • Table
  • Axes


Comments are closed.

9 CommentsOldest to Newest

Daniel Sutoyo replied on : 1 of 9

very comprehensive I like it. This should benefit a lot of new users in MATLAB gui!

Muzaffar replied on : 3 of 9

Hi, i want to know how can i program uitable to be displayed in a separate window after pressing a pushbotton for example?
If i press pushbutton again the context of the table may change also.
kind regards.

Doug replied on : 5 of 9


Oops. Looks like it got lost in editing. Just modify the

function edit1_Callback(hObject, eventdata, handles)


Fikri replied on : 7 of 9

I’m building a GUI, so far so good until I tried to make it object oriented. Say that my GUI is in a function called gui.m, and the essential function that is going to be used by gui.m are both dct.m and tmt.m, here lies the problem, both dct.m and tmt.m produces histograms, which uses panels inside gui.m for generating the histograms. How do I deal with the coding, since it will use a handle for the panel inside the gui.m (I don’t use axes for those histograms).

What would you suggest me in this situation.