Commit 3a8d8034 authored by Markus Mueller-Trapet's avatar Markus Mueller-Trapet

bugfix(?) when reading data from measurement systems (PULSE, SINUS etc.)

parent 922758a3
......@@ -64,12 +64,12 @@ switch ds.abscissaUnitsLabel
channelUnits(i) = {''};
end
end
if numel(unique(nodes)) == 1
resultArray = resultArray(:);
channelNames = channelNames(1);
channelUnits = channelUnits(1);
nodes = nodes(1);
end
% if numel(unique(nodes)) == 1
% resultArray = resultArray(:);
% channelNames = channelNames(1);
% channelUnits = channelUnits(1);
% nodes = nodes(1);
% end
result = itaAudio(resultArray,SamplingRate,'time');
result.channelNames = channelNames;
result.channelUnits = channelUnits;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment