Skip to content
Snippets Groups Projects
Commit 43f7e5f3 authored by jacques.grelet_ird.fr's avatar jacques.grelet_ird.fr
Browse files

display in workspace the number of lines read and meta-data read from .ini file

parent 1ecffa85
No related branches found
No related tags found
No related merge requests found
......@@ -218,7 +218,11 @@ if fid ~= -1
[tsg.file.pathstr, tsg.file.name, tsg.file.ext] = ...
fileparts(filename);
tsg.file.type = 'LABVIEW';
% display information on command window
% --------------------------------------
fprintf(' %d lines', nbrecords);
% check if .ini file exist in data
% --------------------------------
file_ini = fullfile(tsg.file.pathstr, strcat(tsg.file.name, '.ini'));
......
......@@ -79,7 +79,7 @@ while ~feof(fid)
% for debbuging only
% ------------------
%fprintf('%s -> %s\n', clef, tsg.(clef));
fprintf('%s -> %s\n', clef, tsg.(clef));
continue
end
......@@ -154,7 +154,7 @@ while ~feof(fid)
% for debbuging only
% ------------------
%fprintf('%s => %s\n', clef, tsg.(clef));
fprintf('%s => %s\n', clef, tsg.(clef));
case 2
......@@ -166,7 +166,7 @@ while ~feof(fid)
% for debbuging only
% ------------------
%fprintf('%s => %f\n', clef, tsg.(clef));
fprintf('%s => %f\n', clef, tsg.(clef));
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment