how to set multiple fields in a struct without using a loop
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Lisandro Jimenez
am 6 Jun. 2014
Kommentiert: Lisandro Jimenez
am 6 Jun. 2014
Hello guys, I have the next problem, I want to make something like this:
A={'A1';'A2';'A3'};
them make B=somefunction(B,A); and obtain this:
B =
A1: []
A2: []
A3: []
Any idea?
4 Kommentare
Akzeptierte Antwort
Weitere Antworten (1)
Siehe auch
Kategorien
Mehr zu Structures 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!