Hi everyone. I have a GUI in matlab and i would like to add a edit box and a browse button to get files into my GUI. any idea how to go about it????????
Go to matlab help and search for GUI Applications. There is an example on how to write a list box directory reader that allows you to select a file for loading. Also search the matlab file exchange web site. There are several applications that allow to to select files to browse files.
The function is uigetfile, you then need to store the path and filename result in the GUI handles. There is also a function at Matlab file exchange called uipickfiles which allows the selection of multiple files.