How can I create multi dimensional dynamic structure array in loop?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Azar Nejad
am 18 Aug. 2018
Kommentiert: Azar Nejad
am 18 Aug. 2018
Hi all I want to have a structure like:
DataStruct.name(i)
name(i) include three items: Round, Trial and Paradigm
DataStruct.value(i)
value(i) include three itmes: LocX, LocY and LocZ
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 18 Aug. 2018
DataStruct.name(i) = struct('Round', value_for_round, 'Trial', value_for_trial, 'Paradigm', value_for_paradigm);
And likewise for value(i) with fields LocX LocY and LocZ
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Data Types finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!