title: Remove Commas from Large CSV (1GB)
body: <p>I have a large CSV file (1GB) that I would like to remove commas from.  The data are all positive integers.  Methods I have tried include dlmwrite with a space as the delimiter, but the output is then output in decimal format.  I have also tried to use the fprintf command, but then I lose the shape of the matrix (i.e. all data appear in one line or column).</p>
  
  <p>Thus,</p>
  
  <p>Is there a simple way to read in from a CSV (input.txt):</p>
  
  <pre><code>1, 2, 3, 4, 5
  2, 3, 4, 5, 6
  </code></pre>
  
  <p>and then output to a text file (output.txt) in the form:</p>
  
  <pre><code>1 2 3 4 5
  2 3 4 5 6
  </code></pre>