title: matlab replace space character on fgets
body: <p>I'm using fgets to read lines from file to select specific lines to print into another file.</p>
  
  <p>But i'm having some problem on deleting the space character that exists on the line gotten by the fgets and replacing it for a tab character.</p>
  
  <p>How can I solve this?</p>