For some reason someone posted an answer but then it got deleted. Anyway posting it again for others
t = readtimetable(filename);
dt = minutes(5);
tt5min = retime(tt,'regular','linear','TimeStep',dt);
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!