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
Zitieren als
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. Abgerufen .
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- MATLAB > Language Fundamentals > Data Types > Tables >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0.0 | minor correction of file description |