Info

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

Can I connect more structure in one ?

1 回表示 (過去 30 日間)
Tomas Nyiri
Tomas Nyiri 2019 年 11 月 12 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Hello, I have issue with matching structures. I really need an advice. The thing is that I have 12 structures (x,y function) with values from 0 to 100 (x axis) in each. For explaination I need match first and second structure 0-100-200 etc. up to 12th. structure. I am not sure if I described it correctly, but I would really appriciate your help. Thank you.

回答 (1 件)

Kavya Vuriti
Kavya Vuriti 2019 年 11 月 15 日
Hi,
If there is a structure ‘S’ with fields ‘x’ and ‘y’, you can access field ‘x’ using dot notation as S.x. Assuming that you are trying to concatenate either fields in structures or the entire structures, you can refer this for former and this for latter.
Hope this helps.

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by