Nested Structure to table and or text file

Converts nested structure to MatLab table and or text file
652 Downloads
Updated 22 Jun 2015

View License

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

Cite As

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. Retrieved .

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Tables in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0

minor correction of file description