回答 (1 件)

Stephen23
Stephen23 2016 年 1 月 9 日
編集済み: Stephen23 2016 年 1 月 9 日

1 投票

[stocks.Close]
It really is that simple. Here is a working example:
>> A(1).x = rand(4,1);
>> A(2).x = rand(4,1);
>> [A.x]
ans =
0.27603 0.119
0.6797 0.49836
0.6551 0.95974
0.16261 0.34039
And the relevant documentation (recommended reading!):

カテゴリ

ヘルプ センター および File Exchange で Structures についてさらに検索

タグ

質問済み:

2016 年 1 月 9 日

編集済み:

2016 年 1 月 9 日

Community Treasure Hunt

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

Start Hunting!

Translated by