Use matfile for structure data
Mostrar comentarios más antiguos
Is it possible to load, using matfile, a structure data without sort the fields alphabetically?
Thanks Danilo
1 comentario
Adam
el 21 de Jun. de 2016
Fields on a structure are not really sorted in any way as a data structure, you just refer to them by name, they don't need ordering.
Do you mean just when you view them in the variable editor or display the full struct on command line?
Respuestas (1)
Stephen23
el 21 de Jun. de 2016
0 votos
If the order of the fields is so important, then you can sort them yourself:
Note that there are lot of options, so read the documentation carefully!
Categorías
Más información sobre Structures en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!