Lost hardware support package

Dear all,
Every time that I restart the Matlab program. The hardware support packages are not loaded. Re-install looks needed. Is there a solution to load the hardware support packages automatically? The packages are still available in the folder (C:\MATLAB\SupportPackages\R2015b).
Thanks for help!

Answers (2)

Dave Behera
Dave Behera on 24 Mar 2016
Hi Arian,
Try uninstalling the support packages and delete the package folder in the C:\MATLAB\SupportPackages\R2015b folder. Then, reinstall the support package. If it still does not work, add a comment here.

6 Comments

Hello Arian and Dave!
I am currently having exactly the same problem. removing the whole folder and reinstalling helps, but is again lost as soon as matlab is shut down. Just wanted to mention this here :)
But I do seem to have found the solution right now! There is a 'pathdef.m file' where all kind of information is stored. while installing the package, matlab told me he had no rights to 'save his preferences', which means he cannot 'remember' that you installed the packages. What I did: Save the pathdef.m file (SAVEPATH('the location you want to save it\pathdef.m') and then copy it manually to the correct location, which is: "C:\Program Files\MATLAB\R2015b\toolbox\local\" After restarting Matlab, the package worked! What is better: Open Matlab as Administrator.
I have the same problem with Matlab R2016a. I try to use the Hardware Support Package for the Raspberry Pi. It worked already on other computers with other Matlab versions, but on this computer (Windows 7 64-Bit) it just doesn't work. I uninstalled all other older Matlab versions.
I can install the package, then I can connect to the Raspberry via the raspi() command and the package is listed in the matlabshared.supportpkg.getInstalled command.
BUT everytime I restart Matlab, the package is not listed anymore and the raspi() command is not found. But when I install the package again it works.. until the next restart... I already uninstalled and reinstalled Matlab and the package and deleted the support packages folder several times..
I AM starting Matlab as an Administrator. I tried the solution of Gabriël (even though it makes no sense - I am an administrator..) and it brought some change - the package is still listed after I restart Matlab... But the raspi() command is still not found again!
Does somebody have an solution?
Check for startup.m and finish.m files that might be resetting the path.
Walter, thanks for the suggestion, but both files do not exist..
You can lose connection to your Arduino board when you use it with a timer. The callback timer on your system runs between lines of MATLAB® code. This can cause the timer to issue a call to the device at the same time you issue a read, write, or configuration change on the Arduino board, or click a button in the interface. For router support visit Netgear Support

Sign in to comment.

nyanphyo aung
nyanphyo aung on 17 Jun 2018
Dear I had problem as you (Arian) mention. I used matlab 2015. I had installed hardware supported package. And I shut down the computer, there is no installed hardware supported package under simulink. why?

Categories

Find more on MATLAB Support Package for Raspberry Pi Hardware in Help Center and File Exchange

Products

Asked:

on 16 Mar 2016

Commented:

on 13 Oct 2018

Community Treasure Hunt

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

Start Hunting!