


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



EE435: Biometric Signal Processing MATLAB GUI Tutorial This tutorial will lead you through the creation of a simple MATLAB GUI. The GUI will allow a user to enter the name of an image file, and then enable the display of the image, and also its photo- negative. A picture of what your end product should look like is shown to the right. Each GUI is composed of two parts: a .fig file (which determines what the GUI looks like) and an m - file (which determines what happens in the GUI). The process starts by creating the layout of the GUI using the .fig file; the functionality is added later in the m - file.
a. Set the Edit Text box on top of Axes1. Change its âStringâ property to the text that will appear when the GUI is started upâŚsuch as âType image filename hereâ. b. Enlarge the Edit Text box to be as wide as the axes below it.
mcc â m â g â v GUI_demo This command may take a few minutes to run, and you might need to select which C++ compiler to have MATLAB use (choose Visual C++ if offered), but when done, you should see a file called âGUI_demo.exeâ in your directory. It will bring up something that looks like your GUI in MATLAB, but Windows will be running it, not MATLAB. Not all MATLAB code can be compiled into a Windows executable file, but most can.