Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
Extract structures from cell array
조회 수: 1 (최근 30일)
이전 댓글 표시
Hello, I would appreciate any help to find an answer
I have cell array, within it I have some values and structure that contains needed information Size of structure also varies How can i extract those structures and store information in it Thank you for any answer
댓글 수: 2
David Young
2014년 10월 31일
You will need to give more details - the question is a little vague. Can you give an example of the cell array and the resulting structure you would like to extract?
per isakson
2014년 10월 31일
Something like this?
>> s.f1 = 1;
>> s.f2 = 2;
>> c = {s};
>> c{1}.f1
ans =
1
>> c{1}.f1 = 17;
>> c{1}
ans =
f1: 17
f2: 2
>>
답변 (0개)
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!