how to extract the structure array from a cell array

조회 수: 28 (최근 30일)
Yun Zhang
Yun Zhang 2019년 10월 4일
댓글: Stephen23 2019년 10월 4일
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?

채택된 답변

KALYAN ACHARJYA
KALYAN ACHARJYA 2019년 10월 4일
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...

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Structures에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by