How to make two spaces a delimiter?

16 visualizaciones (últimos 30 días)
Alexandria Will-Cole
Alexandria Will-Cole el 15 de Nov. de 2018
Respondida: madhan ravi el 15 de Nov. de 2018
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!

Respuesta aceptada

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

Más respuestas (0)

Categorías

Más información sobre String Parsing en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by