how to set multiple fields in a struct without using a loop
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Lisandro Jimenez
le 6 Juin 2014
Commenté : Lisandro Jimenez
le 6 Juin 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 commentaires
Réponse acceptée
Plus de réponses (1)
Voir également
Catégories
En savoir plus sur Structures dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!