I have a structure with fields like
A(1).a='A01'A(2).a='A02'A(3).a='A03'
Now I would like to convert this structure into a cell array. I tried with
B=[A.a]B =A01A02A03
That is not, what I need. I would like to have:
B = 'A01' 'A02' 'A03'
Is there an easy way, or do I need to write a loop for that?
Best Answer