how to extract the structure array from a cell array

28 vues (au cours des 30 derniers jours)
Yun Zhang
Yun Zhang le 4 Oct 2019
Commenté : Stephen23 le 4 Oct 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?

Réponse acceptée

KALYAN ACHARJYA
KALYAN ACHARJYA le 4 Oct 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...

Plus de réponses (0)

Catégories

En savoir plus sur Structures dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by