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 Center 和 MATLAB Answers 中查找有关 Structures 的更多信息
