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
Cita come
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. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
- MATLAB > Language Fundamentals > Data Types > Tables >
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
Versione | Pubblicato | Note della release | |
---|---|---|---|
1.0.0.0 | minor correction of file description |