Sort struct by field name
5 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Mikel Jimenez
il 21 Lug 2021
Risposto: Mikel Jimenez
il 21 Lug 2021
Hello,
I have the following struct:
I was wondering how to, using some code, reorganize the struct (i.e. sort it) according to the values in the Color field. So, all the blue would be together and then and then all the red. Can't find a clear solution, any help would be very much appreciated.
Thanks,
Mikel
2 Commenti
Risposta accettata
Più risposte (0)
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!