title: Matlab error: Cannot program Arduino board Uno. Please make sure the board is supported and the port and board type are correct
body: <p>I want to control a Arduino Uno with Matlab. But when trying to activate the Arduino with in the Matlab Console ( a=arduino('Com7','uno')) I first get a message: </p>
  
  <blockquote>
    <p>Updating server code on Arduino Uno (COM7). Please wait.</p>
  </blockquote>
  
  <p>and then get the error message:</p>
  
  <blockquote>
    <p>Cannot program Arduino board Uno (COM7). Please make sure the board is supported and the port and board type are correct.</p>
  </blockquote>
  
  <p>Does anyone had the same problem and solved it? Or does anyone has an idea what the exact problem is?</p>
  
  <p>Matlab Version: 2014b (64bit) with the Arduino Support Package installed over the supportPackageInstaller </p>
  
  <p>Arduino Software Version: 1.6.5 (The Arduino Support Package from Matlab comes with an older Arduino Software 1.5.6 - and tried also the 1.0.5 version but error still occures)</p>
  
  <p>Windows 7 prof. </p>
  
  <p>I tried <a href="https://www.mathworks.com/matlabcentral/answers/31595-connecting-to-arduino-timeout" rel="nofollow">this</a>
  and <a href="https://www.mathworks.com/matlabcentral/answers/161002-cannot-connect-arduino-uno-to-matlab-r2014b" rel="nofollow">this</a>,
  but there was no solution. I searched the web for the last 6 hours - with no pay off...so now I turn to you guys. 
  I hope you can help. Would be very grateful!
  Thanks a lot
  Marc</p>