MATLAB Answers

Not able to install Arduino support package in matlab 2019a

13 views (last 30 days)
Meghna kapoor
Meghna kapoor on 4 Feb 2020
Commented: Meghna kapoor on 21 Jul 2020
I have Matlab 2019A in windows OS. I am trying to install arduino support package for Matlab and simulink. At first, it was stating to be a connection error now I am just seeing a blank page. I am connected to internet and have already tried reinstalling the matlab but the problem prevails. Any idea how to correct this?

Answers (1)

Roshni Garnayak
Roshni Garnayak on 7 Feb 2020
Sometimes support packages become corrupt and cannot complete installation or encounter errors that you cannot get past. In these scenarios, it is beneficial to perform a clean re-installations of your Support Package rather than a regular re-installation. To do this, follow these steps:
For R2016b and newer
1. Open MATLAB and choose the drop-down menu for "Add-Ons", followed by the "Manage Add-Ons" option. Find your Support Package on the generated list and click the "Uninstall" button across from it. Once this uninstall is complete, close out of MATLAB.
2. Navigate to the following folder on your computer and delete the contents you find there:
Windows = C:\ProgramData\MATLAB\SupportPackages\R20XXx\
Mac = /Users/<username>/Documents/MATLAB/SupportPackages/R20XXx/
Linux = /home/<username>/Documents/MATLAB/SupportPackages/R20XXx/
ProgramData is a hidden folder, but you can use the shortcut %ProgramData% from Windows Search to jump right to the current user's ProgramData folder.
3. Open the 'Downloads' folder on your computer, then navigate to \MathWorks\SupportPackages\R20XXx\. Delete the contents of the "R20XXx" folder.
4. Run the Support Package installer again and re-install your Support Package now.
For R2016a and prior
1. Open MATLAB and choose the drop-down menu for "Add-Ons", followed by the "Get Hardware Support Packages" option. In the Support Package Installer choose the "Uninstall" radio button, then click "Next". Follow the remaining menus to uninstall the desired Support Package.
2. Navigate to the following folder on your computer and delete the contents you find there:
Windows = C:\MATLAB\SupportPackage\R20XXx\
Mac = /Users/<username>/Documents/MATLAB/SupportPackages/R20XXx/
Linux = /home/<username>/Documents/MATLAB/SupportPackages/R20XXx/
3. Open the 'Downloads' folder on your computer, then navigate to \MathWorks\SupportPackages\R20XXx\. Delete the contents of the "R20XXx" folder.
4. Open MATLAB again and run the following commands:
>>restoredefaultpath
>>savepath
5. Run the Support Package installer again and re-install your Support Package now.
Note: This will remove all support packages that you currently have installed.
  3 Comments
Meghna kapoor
Meghna kapoor on 21 Jul 2020
@Robin Shaw I tried some things but nothing worked. I had access to more systems so I used some other system.

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!