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