diff --git a/tsg_doc/Manuel_Utilisateur_TSGQC.docx b/tsg_doc/Manuel_Utilisateur_TSGQC.docx index 623c8547c1a46225d9b0746acddf2b33784ff16e..a6d7f5c88f3e0b706bcfdae6ec3beb63c243f85b 100644 Binary files a/tsg_doc/Manuel_Utilisateur_TSGQC.docx and b/tsg_doc/Manuel_Utilisateur_TSGQC.docx differ diff --git a/tsg_io/readAsciiTsg.m b/tsg_io/readAsciiTsg.m index d0004322af22c03880f6575f0aa5ca26e21ff348..255a90cc20268cedc314f1f219de01e1ef8cf186 100644 --- a/tsg_io/readAsciiTsg.m +++ b/tsg_io/readAsciiTsg.m @@ -22,7 +22,8 @@ wbool = true; % ------------------------------------------ if wbool %set(0,'DefaulttextInterpreter','none') - msg = sprintf('Loading file %s. Please wait...', filename); + [~,file,ext] = fileparts(filename); + msg = sprintf('Loading file %s. Please wait...', strcat(file, ext)); wb = waitbar(0, msg); hchild = get(wb,'children'); htitle = get(hchild,'title'); @@ -188,16 +189,17 @@ tsg.file.type = 'ASCII'; % -------------------------------- file_ini = fullfile(tsg.file.pathstr, strcat(tsg.file.name, '.ini')); +% display information on command window +% -------------------------------------- +fprintf(' %d lines', nlines - 1); +fprintf('\n...reading %s\n', file_ini); + % check if filename exist and should be open in read mode % ------------------------------------------------------- file_ini_id = fopen(file_ini, 'r'); if (file_ini_id ~= -1) - % display information on command window - % -------------------------------------- - fprintf('\n...reading %s : %s lines', file_ini, nlines - 1); - % Save the data in the application GUI % ------------------------------------ setappdata( hMainFig, 'tsg_data', tsg );