use struct2array
:
% generating struct
dataStruct = struct;
[dataStruct(1:5).a] = deal(rand,rand,rand,rand,rand);
[dataStruct(1:5).b] = deal(rand,rand,rand,rand,rand);
[dataStruct(1:5).c] = deal(rand,rand,rand,rand,rand);
% convert it to matrix
data = reshape(struct2array(dataStruct),[],numel(dataStruct))';