From: Nic Roberts on 22 Jul 2010 06:52 > > > fid=fopen('/sim/TLV1117LV_DS/x0138322/spice/final.in.prt'); > > > while(1) > > > tline2=fgetl(fid); > > > if isempty(tline2), break, end > > > x=regexp(tline2,'operating','start'); > > > if (x==0) > > > tline2=fgetl(fid),continue,end > > > else > > > tline3=fgetl(fid),continue,end > > > TL3=[TL3 sym(tline3)]; > > > end Your code is horrible. Whats with all the commas?
First
|
Prev
|
Pages: 1 2 Prev: ANY Body tried this Next: How to delete specific content from text file? |