Skip to content

Commit

Permalink
moveto3d: changed title in vtk output file. Sometimes copy-pasting th…
Browse files Browse the repository at this point in the history
…e original file title led to problems
  • Loading branch information
AlainPlattner committed Feb 28, 2017
1 parent cc4082b commit b3b698e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion m-files/moveto3d.m
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,14 @@ function moveto3d(vtkfilein,vtkfileout,firste3d,firste2d,laste3d,laste2d)
fout=fopen(vtkfileout,'w');

% Read and write first 4 lines
for i=1:4
% First line
line=fgetl(fin);
fprintf(fout,[line '\n']);
% Second line we will replace
fgetl(fin);
fprintf(fout,'BERT 2.5D result transformed using moveto3d.m \n');
% Third and fourth line
for i=1:2
line=fgetl(fin);
fprintf(fout,[line '\n']);
end
Expand Down

0 comments on commit b3b698e

Please sign in to comment.