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 ...@@ -64,12 +64,12 @@ switch ds.abscissaUnitsLabel
channelUnits(i) = {''}; channelUnits(i) = {''};
end end
end end
if numel(unique(nodes)) == 1 % if numel(unique(nodes)) == 1
resultArray = resultArray(:); % resultArray = resultArray(:);
channelNames = channelNames(1); % channelNames = channelNames(1);
channelUnits = channelUnits(1); % channelUnits = channelUnits(1);
nodes = nodes(1); % nodes = nodes(1);
end % end
result = itaAudio(resultArray,SamplingRate,'time'); result = itaAudio(resultArray,SamplingRate,'time');
result.channelNames = channelNames; result.channelNames = channelNames;
result.channelUnits = channelUnits; 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