From: Tariq Hassan on
Hi
if you to convert field by field, for example field (a), you can use

A = cell2mat({data(:,:).a})

However, if you like to convert the whole values regardless the name of field use

Q=A(1)
J=struct2cell(Q)
M=cell2mat(J)

This will give you column vector of the whole value exist in A(1) .

Regards
From: Matt J on
"Tariq Hassan" <tariqahh1976(a)yahoo.com> wrote in message <i059v1$ll6$1(a)fred.mathworks.com>...
> Hi
> if you to convert field by field, for example field (a), you can use
>
> A = cell2mat({data(:,:).a})
=============


You can, but it's faster to do

A=[data(:,:).a];