Effacer les filtres
Effacer les filtres

How to make two spaces a delimiter?

17 vues (au cours des 30 derniers jours)
Alexandria Will-Cole
Alexandria Will-Cole le 15 Nov 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!

Réponse acceptée

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

Plus de réponses (0)

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by