I am using the following command.
writetable(T,'myData.txt','Delimiter',' ')
However, the table doesn't get stored as nicely as it appears in the MATLAB workspace. I also used '/t' as one of the delimiters, still, the outcome is the same.
The columns look squeezed in compared to the table headers. Importantly. my headers are big as well (~20 characters). Is there no way out that I can save the table as it is in the .txt form? Can I use file()?
1 Comment
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/649948-can-we-save-the-table-as-delimited-txt-in-a-proper-manner#comment_1138443
Direct link to this comment
https://se.mathworks.com/matlabcentral/answers/649948-can-we-save-the-table-as-delimited-txt-in-a-proper-manner#comment_1138443
Sign in to comment.