Nested Structure to table and or text file
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 版本兼容性
平台兼容性
Windows macOS Linux类别
- MATLAB > Language Fundamentals > Data Types > 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 |