title: Using matlab to read textfile but then skip lines with a # sign at the beginning of them
body: <pre><code>    function [input]= read_input()
  
      fid= fopen ('input.txt');
  
      tline=fgets(fid);
  
             while ischar(tline)
                  if tline =='#'
  
                  end
               tline = fgets(fid);
      end
  
          fclose(fid)
  </code></pre>
  
  <p>This is my code so far I'm trying to read a file and then just take the numerically values while skipping the lines that start with a #. </p>
  
  <p>Thanks for any help in advance.  </p>