We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6623f0 commit ad962bdCopy full SHA for ad962bd
load_datx.m
@@ -272,9 +272,10 @@
272
% Shorten signals to length specified in duration
273
signals = signals(1 : nexpected, :);
274
elseif diffSamples > -threshold && diffSamples < 0 % diff < 5 minutes && -
275
- % Adjust duration to match nsamples in data
+ % Adjust duration and stoptime to match nsamples in data
276
diffSeconds = diffSamples / 20;
277
meta.duration = meta.duration + seconds(diffSeconds);
278
+ meta.stopTime = meta.stopTime + seconds(diffSeconds);
279
else
280
% Raise error due to large discrepancy
281
msgID = 'load_datx:fileError';
0 commit comments