flattern_struct(inp​ut, name)

版本 1.2.0.0 (667 字节) 作者: uathena
flattern a struct with unknown numbers of nested structs
26.0 次下载
更新 2017/8/17

查看许可证

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. 检索时间: .

MATLAB 版本兼容性
创建方式 R2017a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Structures 的更多信息
版本 已发布 发行说明
1.2.0.0

fix a bug with string compare

1.1.0.0

add comments about input

1.0.0.0