function writelog(filename,content)
%write log :write content to the file with name of filename
%input filename:the filename of the log file
%input content:the content of the log for writing
dlmwrite(filename, content, '-append');
%write log :write content to the file with name of filename
%input filename:the filename of the log file
%input content:the content of the log for writing
dlmwrite(filename, content, '-append');