CELLFUN Apply a function to each cell of a cell array.
a={'1 2 3 456' ['4 32 1' '95 7 6']}
a =
'1 2 3 456' '4 32 195 7 6'
>> b=cellfun(@str2num,a,'uniformOutput',false)%返回值不保存在cell
b =
[1x4 double] [1x5 double]
>> b{1}
ans =
1 2 3 456
>> b{2}
ans =
4 32 195 7 6