文字列を含めて、CSVファイルを作成することができますか?
Afficher commentaires plus anciens
CSVWRITEを使って文字列を含めたCSVファイルを作成していますが、文字列が、一文字づつのカンマ区切りで出力されます。文字列を文字列として、CSVファイルとしてエクスポートする方法を教えてください。
str = {'time','signal1','signal2'}; % 文字列(セル配列)
csvwrite('data1.csv',str) % CSVファイル作成
data1.csvは
t,i,m,e,s,i,g,n,a,l,1,s,i,g,n,a,l,2
となります。
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur テキスト ファイル dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!