I want to convert a text file into csv formate. How I can do that?

2 次查看(过去 30 天)
I want to convert a text file into csv formate. How I can do that?
  3 个评论

请先登录,再进行评论。

回答(1 个)

Walter Roberson
Walter Roberson 2022-8-5
readtable to read the text file. writetable to write to csv (or xlsx) format.
Note: this approach might have difficulty if there are headers in the text file, or if the data is not in clear column format.

类别

Help CenterFile Exchange 中查找有关 Prepare Model Inputs and Outputs 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by