christopherh@1: %printfile(text, filename) christopherh@1: christopherh@1: function printfile(text, filename) christopherh@1: christopherh@1: fid = fopen(filename, 'w'); christopherh@1: fprintf(fid,text); christopherh@1: fclose(fid);