% very simple file to check if matlab has run.
% it outputs a file with the number 1 in it.
fid=fopen('/data/span9/bahr/perlprogs/mtest.dat','w');
i=1;
if fid < 0,
	quit;
end
fprintf(fid,'%d\n',i);
fclose(fid);
quit;
