MATLAB: Transfer All Cell Elements to a Single Vector Without For Loop

cell arraysvector

Hi all,
Supposed I have
a=[{[2 3]};{[3 5 4]}]
What I want is to transfer all members in "a" to vector b
b=[2 3 3 5 4]
How can I do that without "for loop" ?
I write nested loop code that can do that, but the computing time is to slow for hundreds thousands of data.
Please help. Thank you.

Best Answer

b = cell2mat(a)