
July 24th, 2008, 12:23 PM
|
 | Grand Panjandrum | | Join Date: Nov 2005 Location: South of England
Posts: 11,375
Country: Thanks: 667
Thanked 3,618 Times in 2,915 Posts
| |
Try something like: Code: fl0='C:\MATLAB701\work\Point_Clouds';
for idx =1 : 20
if idx==1
flin='C:\Documents and Settings\prhill\My Documents\Hill\Point_Clouds\20_1_00.asc';
flout=[fl0,num2str(11);
else
flin=flout
flout=[fl0,num2str(10+idx)];
end
points=load(flin);
%do calcuations
fid_out=fopen(flout,'w');
fprintf(fid_out,'%6.3f %6.3f %6.3f\n',cull1');
fclose(fid_out);
end
RonL
__________________ Truth does not change because it is, or is not, believed by a majority of the people.
Giordano Bruno |