hi I have a function '[dl]=funcall(x,y)' and in it I want to create *.text file with variable names and write out put vectors 'dl'. such as this
function [dl]=funcdl(x,y)
...
fid=fopen('DL.txt', 'wt');
fprintf(fid, '%f\n',dl);
fprintf(fid, '\n');
fclose(fid);
...
but every time by calling function it creates the same name 'DL.txt' and overwrites out put!!! any one can help me???
0 Comments
Sign in to comment.