flattern_struct(inp​ut, name)

flattern a struct with unknown numbers of nested structs

您现在正在关注此提交

for example:
input.field1 = struct()
input.field1.field2 = struct()
...
flattern the struct so it only has one layer, then you can convert it to cell/table etc.

引用格式

uathena (2026). flattern_struct(input, name) (https://ww2.mathworks.cn/matlabcentral/fileexchange/64057-flattern_struct-input-name), MATLAB Central File Exchange. 检索时间: .

类别

Help CenterMATLAB Answers 中查找有关 Structures 的更多信息

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.2.0.0

fix a bug with string compare

1.1.0.0

add comments about input

1.0.0.0