diff --git a/tsg_io/readTsgSeasave.m b/tsg_io/readTsgSeasave.m index f62e730381b2a9d82c8a38109dfc844e77d590f8..d1a7bd9ebbf1e3e6d8bef4b604b8d7ddc6bcd731 100644 --- a/tsg_io/readTsgSeasave.m +++ b/tsg_io/readTsgSeasave.m @@ -23,7 +23,7 @@ wbool = true; % update waitbar title with Tex mode disable % ------------------------------------------ if wbool - wb = waitbar(0, ' Loading cnv files... '); + wb = waitbar(0, {' Loading cnv files...',''}); hchild = get(wb,'children'); htitle = get(hchild,'title'); set(htitle,'Interpreter','None'); @@ -64,7 +64,7 @@ tsg.file.type = 'CNV'; for i=1:m if iscell(filename) s = readCnv(filename{i}); - waitbar(i/m, wb, sprintf(' Reading file %s... ', filename{i})); + waitbar(i/m, wb, {' Reading file', sprintf('%s...', filename{i})}); else s = readCnv(filename); end @@ -82,6 +82,7 @@ end % convert DATE and DAYD % --------------------- +waitbar(1, wb, {'Please wait', 'The operation is processing'}); tsg.DAYD = julianToDatenum(tsg.DAYD); tsg.DATE = deblank( datestr(tsg.DAYD,tsg.preference.date_format_variable));