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

can read header line with composed name: eg LE SUROIT

parent ceed83cd
No related branches found
No related tags found
No related merge requests found
......@@ -76,7 +76,18 @@ while ~OK
% ------------------------
ind = strmatch( Para, tsgNames);
if ~isempty( ind )
tsg.(Para) = char( c{1}(2) );
% patch added for composed name
% -----------------------------
a = c{1}(2:end)';
str=[];
for i=a
str = sprintf('%s %s', str, char(i));
end
% copy to tsg struct & remove leading and trailing white space
% ------------------------------------------------------------
tsg.(Para) = strtrim(str);
end
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