How to create a struct with field name numeric.
Afficher commentaires plus anciens
s = struct('1',{'110000'},'2',{'110001'});
Error using struct
Invalid field name "1".
How I can create a struct which have field name numeric value like the above example but i got a error as shown.
Thanks in advance.
3 commentaires
Stephen23
le 17 Avr 2020
How is this any different to your earlier question?:
Balkar Singh
le 17 Avr 2020
Balkar Singh
le 17 Avr 2020
Réponses (0)
Catégories
En savoir plus sur Structures dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!