how to set multiple fields in a struct without using a loop
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Lisandro Jimenez
il 6 Giu 2014
Commentato: Lisandro Jimenez
il 6 Giu 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 Commenti
Risposta accettata
Più risposte (1)
Vedere anche
Categorie
Scopri di più su Structures in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!