Can we save the table as delimited txt in a proper manner?

1 回表示 (過去 30 日間)
Jay Vaidya
Jay Vaidya 2020 年 11 月 16 日
コメント済み: Adam Danz 2020 年 11 月 16 日
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 件のコメント
Adam Danz
Adam Danz 2020 年 11 月 16 日
The file created by writetable is computer-readable and does not necessarily produce a format that's easy on human eyes. If you write the table to an excel file it will be easier to view.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeData Import from MATLAB についてさらに検索

タグ

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by