필터 지우기
필터 지우기

how to save a cell array to csv file

조회 수: 2 (최근 30일)
Kouichi
Kouichi 2013년 12월 5일
댓글: Walter Roberson 2013년 12월 6일
添付したmatファイル通りの表示形式のままcsvファイルに保存したいのですが,方法がわかりません.教えて頂けないでしょうか. 例えばmatファイルの1行3列目のC1はエクセルでcsvを開いたときに1行3列目にC1と入力されていてほしいです('C1'ではなくC1). fprintfコマンドで色々試しましたがうまくいきませんでした.
  댓글 수: 1
Walter Roberson
Walter Roberson 2013년 12월 6일
Automated translation:
I would like to save csv file remains display format of the mat file that they were attached, but does not know how. Could you tell me. For example, C1 of the first row and third column of the mat file (C1 rather than 'C1') that I want you to have been entered as C1 in the first row and third column when you open the csv in Excel. various Tried in fprintf command but it did not work.

댓글을 달려면 로그인하십시오.

답변 (1개)

sixwwwwww
sixwwwwww 2013년 12월 5일
I basically can't understand you full question because it is in other language. So I can show you a way that you can try to save data in csv file:
load('demo.mat');
xlswrite('filename.csv', data2csv)
I hope it helps. Good luck!
  댓글 수: 2
Kouichi
Kouichi 2013년 12월 6일
I can made it. I will try to ask questions in English from now on. Thank you very much!!
sixwwwwww
sixwwwwww 2013년 12월 6일
you are welcome

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Standard File Formats에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by