How to move fields within 1x1 struct?

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.

답변 (1개)

Matt J
Matt J 2014년 11월 21일

0 개 추천

See the orderfields commmand.

카테고리

도움말 센터File Exchange에서 Structures에 대해 자세히 알아보기

제품

태그

질문:

YZ
2014년 11월 21일

답변:

2014년 11월 21일

Community Treasure Hunt

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

Start Hunting!

Translated by