MATLAB: How to remove empty arrays of cell

cell arraysempty arrays

please find attached file, how can I remove empty row of cell arrays. Thanks in advance,

Best Answer

Run this
idx = cellfun(@(x) isempty(x), time);
time(idx) = [];