how to extract the structure array from a cell array

30 Ansichten (letzte 30 Tage)
Yun Zhang
Yun Zhang am 4 Okt. 2019
Kommentiert: Stephen23 am 4 Okt. 2019
I have a 2-cell array, each cell is a structure array. Could you please show me how to extract the structure array from each cell?

Akzeptierte Antwort

KALYAN ACHARJYA
KALYAN ACHARJYA am 4 Okt. 2019
Suppose you hace cell array
data={ struc array1 struc array2 struc array3.....}
If you want to extract struc array2 then..
result=data{2}
so on...

Weitere Antworten (0)

Kategorien

Mehr zu Structures finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by