matlab: fix undesired output in hdf5 field data read

This commit is contained in:
Thorsten Liebig 2011-03-10 10:32:54 +01:00
parent b73004be48
commit 95c5f59d31

View File

@ -61,7 +61,7 @@ if (numel(TD.names)>0)
end end
if (numel(FD.names)>0) if (numel(FD.names)>0)
Nr_freq = numel(FD.names) Nr_freq = numel(FD.names);
for n=1:Nr_freq for n=1:Nr_freq
name = ['/FieldData/FD/f' int2str(n-1) '_real']; name = ['/FieldData/FD/f' int2str(n-1) '_real'];
ind = find(strcmp(FD.names,name)); ind = find(strcmp(FD.names,name));