{'dd'} {'pp'} {'dd'} {'pp'}
The cell array tok contains cell arrays that each contain a token.
tok{:}
ans =
1×1 cell array
{'d'}
ans =
1×1 cell array
{'p'}
ans =
1×1 cell array
{'d'}
ans =
1×1 cell array
{'p'}
The cell array ext contains numeric arrays that each contain starting and ending indices
for a token.
ext{:}
ans =
11 11
ans =
2 Program Components