Hi,
I am trying to create an app using GUI. Basically it consists on opening an ASCII file, showing every single line in a edit control and be able to identify the row numbers. Right now I am stuck in the part of figuring out how to get the first row number where the numeric data starts, as I am not interested in the header data. I have attached the text file here. The reason I show the file in the edit1 control is to find somehow a way to retrieve the row number I am interested in. Any thoughts or suggestions? Thanks
[FileName,PathName] = uigetfile('*.las','Select Well Log File');fullpathname=strcat(PathName,FileName);fid=fopen(fullpathname,'r');if fid<0 error('error opening file %s\n\n',FileName); endtext=fileread(fullpathname); set(handles.edit1,'String',text);fclose(fid);
Best Answer