How to make two spaces a delimiter?

17 次查看(过去 30 天)
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 个)

产品

Community Treasure Hunt

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

Start Hunting!

Translated by