Write a matrix to a text file with a space between columns

33 views (last 30 days)
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.

Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 23 May 2014
dlmwrite('yourfile',yourmatrix,'delimiter',' ')

More Answers (0)

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!