%**************************************************************************
%This function writes a message to the data file.
%
%Input:
%dat_file, data file for results
%msg, message to write
%
%Zachary Wolf
%9/30/13

function [] = util_dat_str(dat_file, msg)

%Open the data file
fid = fopen(dat_file, 'a');

%Write the message
fprintf(fid, '%s\r\n', msg);

%Close the data file
fclose(fid);

%Done
