Print a struct to file.


Updated 2 Mar 2012

View License

Print a struct to file. The output can be aligned to be more human-readable, or be separated by a specified delimiter.
Requires the getarg function.

struct2File( s, 'c:\file.txt', 'align', true, 'sort', false );

Cite As

Ivar Eskerud Smith (2023). struct2File (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes