Is it possible to load, using matfile, a structure data without sort the fields alphabetically?
Thanks Danilo

댓글 수: 1

Adam
Adam 2016년 6월 21일
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?

댓글을 달려면 로그인하십시오.

답변 (1개)

Stephen23
Stephen23 2016년 6월 21일

0 개 추천

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!

카테고리

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

제품

태그

질문:

2016년 6월 21일

답변:

2016년 6월 21일

Community Treasure Hunt

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

Start Hunting!

Translated by