How to make a xlsx file to a comma delimited csv file?

10 ビュー (過去 30 日間)
Zeynab Mousavikhamene
Zeynab Mousavikhamene 2021 年 3 月 24 日
コメント済み: Walter Roberson 2021 年 3 月 24 日
I need to covert a xlsx file to a comma delimited csv file. writematrix is not a good option as its input is matrix and in my case the data look like this:

採用された回答

Walter Roberson
Walter Roberson 2021 年 3 月 24 日
readtable and writetable
  2 件のコメント
Zeynab Mousavikhamene
Zeynab Mousavikhamene 2021 年 3 月 24 日
編集済み: Zeynab Mousavikhamene 2021 年 3 月 24 日
How to make it vice versa? I have csv file and want to convert to xlsx. The file looks like the above image.
Walter Roberson
Walter Roberson 2021 年 3 月 24 日
readtable and writetable again. Both of them can read and write csv and xlsx. There are some differences on the ability to write into selective locations, so which you are using for output can matter, but for this particular purpose the code is simple (provided that the column headings are valid matlab variable names; if not then newer matlab can handle the situation but not older matlab)

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSpreadsheets についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by