%% 自动读取log文件
log_path_listL = dir(strcat(filepath,'\*.log'));
log_file_name=strcat(log_path_listL.folder,'\',log_path_listL.name);
log={};
fid = fopen(file_name,'r','n','utf-8');
while 1
tline = fgetl(fid);
if ~ischar(tline), break, end
tline = native2unicode(tline);
log=[log;tline];
end
fclose(fid);
log=string(log);