title: MATLAB How to Use URLREAD with a Password Protected Website
body: <p>I am trying to use <code>urlread</code> to grab the contents of a password protected website. When I'm logged in, the url is <a href="http://media.nba.com/Stats/OfficialBoxScores.aspx" rel="nofollow">http://media.nba.com/Stats/OfficialBoxScores.aspx</a>, and when logged out, the url is <a href="http://media.nba.com/Stats/Login.aspx?ReturnUrl=%2fStats%2fOfficialBoxScores.aspx" rel="nofollow">http://media.nba.com/Stats/Login.aspx?ReturnUrl=%2fStats%2fOfficialBoxScores.aspx</a>. I've tried </p>
  
  <p><code>urlread('http://media.nba.com/Stats/OfficialBoxScores.aspx','Username','username','Password','password');</code></p>
  
  <p>with my login credentials but it only gives me the contents of the url before logging in. I see that this question has been asked before, but I couldn't find a solution for my situation. Is there a way to use <code>urlread</code> to get past the password protection wall?</p>
  
  <p><strong>Any help would be greatly appreciated!</strong></p>