Azzera filtri
Azzera filtri

How to make two spaces a delimiter?

17 visualizzazioni (ultimi 30 giorni)
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!

Risposta accettata

madhan ravi
madhan ravi il 15 Nov 2018
dlmwrite(filename1,M,'-append','delimiter','\t')

Più risposte (0)

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by