Matlab GUI programming
Matlab provides facility for creating gui. GUIDE is the application used for creating guis in matlab. You can find some important information here regarding the gui creation and manipulation in Matlab.
Wednesday, May 9, 2007
In matlab you can create GUI using either GUIDE or programmatically. GUIDE is a useful tool for creating gui. It will reduce the effort and amount of time spent by a programmer to create a GUI in matlab. For each user interface control like buttons or listbox GUIDE will provide the callbacks to be executed for that control. The only thing the programmer need is to insert the code into this callbacks. If you are creating a GUI without the assistance of GUIDE, you need to do all from scratch. GUIDE will generate two files for the gui you have created. One is the '*.fig' file which describes the layout of the gui and the '*.m' file which is the actual m-file which is to be executed. Using the fig file one can easily edit the layout of the gui you have. Once everything is completed you can merge these two files to generate a single m-file.