MATLAB: How to ‘nest’ unnested cells of various lengths

MATLABnested cells

I have an 2414×1 cell array that displays only: 1×5 cell and next row 1×4 cell etc., as shown below, let's call it C
When clicking on each cell in C it shows the 'content' of each cell. E.g.: C{1} = 1×5 cell array:
{'3'} {'6'} {'1'} {'2'} {'10'}
My question:
I want to display the content of C{1} in C as follows: [3,6,1,2,10] and NOT 1×5 cell, like screenshot below, but for all 2414 rows. Each row has different lengths as shown by the screenshots. Thanks in advance.

Best Answer

To change the nested cell of char vectors into a numeric array:
cellfun(@str2double,C,'uni',0)