数字の0から始まるデ​ータをExcelのc​svファイルに書き込​む方法

1 vue (au cours des 30 derniers jours)
Shouhei Ookouchi
Shouhei Ookouchi le 25 Août 2020
Réponse apportée : Naoya le 28 Août 2020
添付したmファイル「Excelwritetest.m」を実行しましたが、質問状.pdfの図1のような実行結果となりました。
質問状.pdfの図2のように「Matlabの操作のみで、先頭に0の値があるデータをExcelのcsvファイルに書き込む」ということは可能でしょうか?

Réponses (1)

Naoya
Naoya le 28 Août 2020
csv形式のファイルを Excel上で開くと 先頭の0が省略される(0落ち)になることを指していると思います。
こちらについては、 一般的なExcel側の仕様になると思います。
一般的な対応方法については、 検索エンジンで "csv" "excel" "0落ち" の組み合わせで説明や対策などが挙げられるサイトが幾つか表示されますので、こちらをご覧いただくのがよろしいかもしれません。

Catégories

En savoir plus sur Data Import from MATLAB dans Help Center et File Exchange

Tags

Produits


Version

R2020a

Community Treasure Hunt

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

Start Hunting!