Write a matrix to a text file with a space between columns
26 views (last 30 days)
Show older comments
Hi,
Does anybody know to write an matrix (3652500 rows and 3 columns) to a text file with a space between columns? I have MATLAB R2011b version.
0 Comments
Accepted Answer
Azzi Abdelmalek
on 23 May 2014
dlmwrite('yourfile',yourmatrix,'delimiter',' ')
3 Comments
hamed
on 8 Mar 2018
Do you know how can I make 2 tabs space between the columns?
'\t' makes a tab and I need 2 tabs
More Answers (0)
See Also
Categories
Find more on Data Import and Export in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!