I got this cell array resulted from the function textscan
r =
{139952x1 cell}
and when you type r{1} in the command window, you get something like
- '1:07:50'
- '1:07:50'
- '1:07:50'
- '1:07:50'
- '1:07:52'
- '1:07:52'
- '1:07:52'
- '1:07:52'
- '1:07:54'
my question is, how to reach an individual element in this cell array, the fourth element for example ?
r{i}should let you access the elementiof a cell array. I looks like the contents of the cell might be an array. Trya = r{1}and examiningaspecifically.r{1}itself is a column array. So witha=r{1},a(4)would be the 4th element of the array in the first cell ofr.