A recursive version of MatLab function "orderfields".
Like "orderfields", function "OrderAllFields" orders fieldnames in a structure array by sorting them alphabetically. Contrary to "orderfields", which only orders top-level fields, function "OrderAllFields" orders fields of a structure array on all its levels (thereby also passing levels which have a cell array structure rather than a structure array structure).
引用格式
Paul A.M. Bune (2026). Order all fields (https://ww2.mathworks.cn/matlabcentral/fileexchange/19459-order-all-fields), MATLAB Central File Exchange. 检索时间: .
致谢
参考作品: Sort Structure
| 版本 | 已发布 | 发行说明 | Action |
|---|---|---|---|
| 1.0.0.0 |
