フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Extract structures from cell array

1 回表示 (過去 30 日間)
Olga
Olga 2014 年 10 月 31 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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
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
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!

Translated by