Convert structures (nested) to text file and back
Convert any flat or arbitrarily non-flat structure to a text file. to rebuild the structure, highlight and execute the text in the file.
(Currently only implemented for Structure with fields of type 'structure','[nxm] numeric scalars and matrices', and 'strings'
Add functionality for cells, f handles, etc as you like (space provided). Please update/repost if you make upgrades to this file.
Thank you.
Dave
Cite As
David Manegold (2024). Convert structures (nested) to text file and back (https://www.mathworks.com/matlabcentral/fileexchange/37552-convert-structures-nested-to-text-file-and-back), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |