extract field from a structure problem
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Yu Li
am 15 Nov. 2018
Bearbeitet: Stephen23
am 15 Nov. 2018
Hi:
I need to extract the field 'P' from a structure, to form a new structure with all the value of P. but I the answer in link below:
does not work, it only keeps the last one of the structure.
my command is tmp=DP1(:).P
Thanks!
Yu
1 Kommentar
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Logical 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!