The first time the Arduino Mega 2560 is connected to your computer, the device driver may fail to install. If this happens, you can update the driver with the one that was installed with the Arduino Target Support Package. To do this on a Windows computer, you can take the following steps:
- If you have not already installed the Arduino support package, you can do so by using the TARGETINSTALLER command in MATLAB. Alternatively, go to the Home tab in MATLAB, click the "Add-Ons" button, and select "Get Hardware Support Packages".
- Open "Devices and Printers" from the Start menu.
- Open the Unidentified Device.
- Under the Hardware tab, select Properties.
- Under the Driver tab, select "Update Driver".
- Browse to the "arduino-1.0" folder that was installed with the target support package. The default location for this folder in R2013b is:
C:\MATLAB\SupportPackages\R2013b
- Update the driver.
Best Answer