Changeset 18819
- Timestamp:
- 11/21/14 12:07:56 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/scripts/ol.m
r18802 r18819 1 1 2 fid=fopen('runme.m','r'); 3 2 fid=fopen('runme.m','r'); 3 4 tline = fgets(fid); 5 count=1; 6 while ischar(tline) 4 7 tline = fgets(fid); 5 count=1; 6 while ischar(tline) 7 tline = fgets(fid); 8 if length(tline)>16, 9 if strcmpi(tline(1:16),'if perform(org,'''), 10 disp(sprintf('%i: %s',count,tline(17:end-5))); 11 count=count+1; 12 end 8 if length(tline)>16, 9 if strcmpi(tline(1:16),'if perform(org,'''), 10 disp(sprintf('%i: %s',count,tline(17:end-8))); 11 count=count+1; 13 12 end 14 13 end 14 end
Note:
See TracChangeset
for help on using the changeset viewer.