Nested Structure to table and or text file

版本 1.0.0.0 (1.8 KB) 作者: Gero Nootz
Converts nested structure to MatLab table and or text file
647.0 次下载
更新时间 2015/6/22

查看许可证

NestedStruct2table() uses the recursive function 'StepThroughCluster()' to extract data form a nested structure. The data is then converted to a table by the function 'convertCellsToTable()'. Allowed data fields are 'char' strings, one dimensional ‘double’ arrays and one dimensional ‘cell’ arrays of any size. The table can then be exported to a text file by using writetable(). Run 'ExsampleCode.m' for a demonstration

引用格式

Gero Nootz (2024). Nested Structure to table and or text file (https://www.mathworks.com/matlabcentral/fileexchange/51271-nested-structure-to-table-and-or-text-file), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2015a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Tables 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0

minor correction of file description