How to move fields within 1x1 struct?

6 visualizaciones (últimos 30 días)
YZ
YZ el 21 de Nov. de 2014
Respondida: Matt J el 21 de Nov. de 2014
A is a 1x1 struct. A.EachFrame is also a 1x1 struct. There are 32 1x1 struct inside A.EachFrame:
Item_1
Item_3
...
Item_31
Item_33
...
Item_63
Is that possible to move "Item_1 to Item_31" after Item_63, so that the result is A.EachFrame =
Item_33
...
Item_63
Item_1
Item_3
...
Item_31
Is this possible? Or, I have to rename all of them to re-arrange them? Thank you.

Respuestas (1)

Matt J
Matt J el 21 de Nov. de 2014
See the orderfields commmand.

Categorías

Más información sobre Structures en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by