title: How to continue in a loop when the file does not exist?
body: <p>This script download many files. However, I want the loop to continue when it doesn't find any file: File mot found. </p>
  
  <pre><code>for ii=1:length(t2)
     d=t2(ii);
     if year(d)&gt;=2011
         download(d)
  
   end
  end 
  </code></pre>
  
  <p>Any ideas? Thanks </p>