save a cell matrix as csv format
6 ビュー (過去 30 日間)
古いコメントを表示
Dear all,
I have a cell matrix
A={ 'name' 'area' 'values'
'A1' 'wexc' [ 1.1880]
'A2' 'dsfdg' [ 1.1505]
'A3' 'dfvsd' [ NaN]
'A4' 'sdw' [ 1.2081]};
and I want to save it as an csv format
could you please verify that this is the correct command for doing this?
csvwrite('YourNewFile.csv', A);
thanks
0 件のコメント
回答 (2 件)
Azzi Abdelmalek
2013 年 2 月 27 日
編集済み: Azzi Abdelmalek
2013 年 2 月 27 日
csvwrite does not accept cell arrays
2 件のコメント
Azzi Abdelmalek
2013 年 2 月 27 日
xlswrite('YourNewFile.xls', A); % save it as an excell file
In Excell you can save your file as a csv format
Shashank Prasanna
2013 年 2 月 27 日
The following solutions page answers this exact questions:
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Spreadsheets についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!