hotfix for synchronisation problems

This commit is contained in:
v.chau 2025-06-30 17:39:01 +02:00
parent a7e363299e
commit 1c9612aca6

View File

@ -14,7 +14,11 @@ function [data] = vector2timetable(data_path, varargin)
"VariableNames",{fn{i}} ... "VariableNames",{fn{i}} ...
); );
end end
data = synchronize(tt{:},"union","nearest"); try
data = synchronize(tt{:},"union","nearest");
catch
data = tt{:};
end
% union -> union of the row times % union -> union of the row times
% method -> fill gaps in output with nearest neighbor in the input timetable % method -> fill gaps in output with nearest neighbor in the input timetable
end end