How do I install Arduino Support Package for MATLAB R2012b?

I basically have the same problem as the person in this link

I decided to make a new post since the thread was last active a few years ago.

I'm trying to install Arduino Mega and Arduino Uno support packages for Matlab R2012b but I keep getting the following error:

"Cannot download http://arduino.googlecode.com/files/arduino-1.0-windows.zip: Error downloading URL. Your network connection may be down or your proxy settings improperly configured.."

I tried to check the download link "http://arduino.googlecode.com/files/arduino-1.0-windows.zip" but it appears to be down.

Someone told me that the correct link is "http://downloads.arduino.cc/arduino-1.0-windows.zip", but I do not know what to do once I have downloaded the file.

Thank you!

I did it from matlab with the menu "add support package" and then select support package for Arduino. You need to start matlab with administrator rights and have a valid licence.

But with the latest versions of Matlab (since 2015b) it works really better with Arduino.