This question is closed. Reopen it to edit or answer.

Can I connect more structure in one ?

1 view (last 30 days)
Tomas Nyiri
Tomas Nyiri on 12 Nov 2019
Closed: MATLAB Answer Bot on 20 Aug 2021
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.

Answers (1)

Kavya Vuriti
Kavya Vuriti on 15 Nov 2019
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