How to make two spaces a delimiter?

16 ビュー (過去 30 日間)
Alexandria Will-Cole
Alexandria Will-Cole 2018 年 11 月 15 日
回答済み: madhan ravi 2018 年 11 月 15 日
I have to have data delimited by two spaces ' ' and cannot use a tab. I tried to use this line of code...
dlmwrite(filename1,M,'-append','delimiter',' ');
but I get an error in my code that it is not a valid delimiter. Please help! Thanks!

採用された回答

madhan ravi
madhan ravi 2018 年 11 月 15 日
dlmwrite(filename1,M,'-append','delimiter','\t')

その他の回答 (0 件)

カテゴリ

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

製品

Community Treasure Hunt

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

Start Hunting!

Translated by