How to create a struct with field name numeric.
Ältere Kommentare anzeigen
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 Kommentare
Stephen23
am 17 Apr. 2020
How is this any different to your earlier question?:
Balkar Singh
am 17 Apr. 2020
Balkar Singh
am 17 Apr. 2020
Antworten (0)
Kategorien
Mehr zu Structures finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!