![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/187702/image.png)
Arduino hardware support package installation location ?
11 次查看(过去 30 天)
显示 更早的评论
Hi there,
I have downloaded and installed the arduino hardware package. However it is not appearing in my list of add-ons so eveytime I type: a=arduino();
It states I need the arduino support package.
It has installed itself in a separate file called MATLAB,inside is R2015b then support packages, with this outside of my program files and program filesx86. My main MATLAB file is in the programx86 file.
Where can I move the support package file in order for this package to work?
Any help would be greatly appreciated.
Also this is some text that was printed while the package was installing.
Warning: Unable to save path to "C:\Program Files (x86)\MATLAB\R2015b\toolbox\local\pathdef.m".
MATLAB may not have write access to the folder. Possible fix:
1) Use SAVEPATH with an input argument to save path to a temporary file
2) Restart MATLAB as Administrator
3) Load path from temporary file
4) Call SAVEPATH
> In hwconnectinstaller.RegistryUtils.savePath
In hwconnectinstaller.PackageInstaller/install
In hwconnectinstaller.PackageInstaller/installRecursiveImp
In hwconnectinstaller.PackageInstaller/installRecursive
In hwconnectinstaller.internal.executeConfirm>installFromFolder
In hwconnectinstaller.internal.executeConfirm>installWorkflow
In hwconnectinstaller.internal.executeConfirm
In hwconnectinstaller.Step/next
In hwconnectinstaller.internal.executeConfirm>@(varargin)hStep.next(varargin{:})
In hwconnectinstaller.util.download.MWDownloadManager/fireMethod
In hwconnectinstaller.util.download.MWDownloadManager/initCallback/serviceCallback
In hgfeval (line 62)
In javaaddlistener>cbBridge (line 52)
In javaaddlistener>@(o,e)cbBridge(o,e,response) (line 47)
Warning: Unable to save path to "C:\Program Files (x86)\MATLAB\R2015b\toolbox\local\pathdef.m".
MATLAB may not have write access to the folder. Possible fix:
1) Use SAVEPATH with an input argument to save path to a temporary file
2) Restart MATLAB as Administrator
3) Load path from temporary file
4) Call SAVEPATH
> In hwconnectinstaller.RegistryUtils.savePath
In hwconnectinstaller.PackageInstaller/install
In hwconnectinstaller.PackageInstaller/installRecursiveImp
In hwconnectinstaller.PackageInstaller/installRecursive
In hwconnectinstaller.internal.executeConfirm>installFromFolder
In hwconnectinstaller.internal.executeConfirm>installWorkflow
In hwconnectinstaller.internal.executeConfirm
In hwconnectinstaller.Step/next
In hwconnectinstaller.internal.executeConfirm>@(varargin)hStep.next(varargin{:})
In hwconnectinstaller.util.download.MWDownloadManager/fireMethod
In hwconnectinstaller.util.download.MWDownloadManager/initCallback/serviceCallback
In hgfeval (line 62)
In javaaddlistener>cbBridge (line 52)
In javaaddlistener>@(o,e)cbBridge(o,e,response) (line 47)
Warning: Unable to save path to "C:\Program Files (x86)\MATLAB\R2015b\toolbox\local\pathdef.m".
MATLAB may not have write access to the folder. Possible fix:
1) Use SAVEPATH with an input argument to save path to a temporary file
2) Restart MATLAB as Administrator
3) Load path from temporary file
4) Call SAVEPATH
> In hwconnectinstaller.RegistryUtils.savePath
In hwconnectinstaller.PackageInstaller/install
In hwconnectinstaller.PackageInstaller/installRecursiveImp
In hwconnectinstaller.PackageInstaller/installRecursive
In hwconnectinstaller.internal.executeConfirm>installFromFolder
In hwconnectinstaller.internal.executeConfirm>performThreadedDownload
In hwconnectinstaller.internal.executeConfirm>installFromInternet
In hwconnectinstaller.internal.executeConfirm>installWorkflow
In hwconnectinstaller.internal.executeConfirm
In hwconnectinstaller.internal.executeConfirm
In hwconnectinstaller.Step/next
In hwconnectinstaller.internal.executeConfirm>@(varargin)hStep.next(varargin{:})
In hwconnectinstaller.util.download.MWDownloadManager/fireMethod
In hwconnectinstaller.util.download.MWDownloadManager/initCallback/serviceCallback
In hgfeval (line 62)
In javaaddlistener>cbBridge (line 52)
In javaaddlistener>@(o,e)cbBridge(o,e,response) (line 47)
Warning: Unable to save path to "C:\Program Files (x86)\MATLAB\R2015b\toolbox\local\pathdef.m".
MATLAB may not have write access to the folder. Possible fix:
1) Use SAVEPATH with an input argument to save path to a temporary file
2) Restart MATLAB as Administrator
3) Load path from temporary file
4) Call SAVEPATH
> In hwconnectinstaller.RegistryUtils.savePath
In hwconnectinstaller.PackageInstaller/install
In hwconnectinstaller.PackageInstaller/installRecursiveImp
In hwconnectinstaller.PackageInstaller/installRecursive
In hwconnectinstaller.internal.executeConfirm>installFromFolder
In hwconnectinstaller.internal.executeConfirm>performThreadedDownload
In hwconnectinstaller.internal.executeConfirm>installFromInternet
In hwconnectinstaller.internal.executeConfirm>installWorkflow
In hwconnectinstaller.internal.executeConfirm
In hwconnectinstaller.internal.executeConfirm
In hwconnectinstaller.Step/next
In hwconnectinstaller.internal.executeConfirm>@(varargin)hStep.next(varargin{:})
In hwconnectinstaller.util.download.MWDownloadManager/fireMethod
In hwconnectinstaller.util.download.MWDownloadManager/initCallback/serviceCallback
In hgfeval (line 62)
In javaaddlistener>cbBridge (line 52)
In javaaddlistener>@(o,e)cbBridge(o,e,response) (line 47)
1 个评论
Schilla Lu
2018-2-1
I try to change the authority of user in 'local folder' and add path to solve the problem.
<<
<<
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/187702/image.png)
>>
>>
回答(2 个)
Kurt Stewart
2018-5-17
type this in your matlab command line: matlabshared.supportpkg.getSupportPackageRoot
0 个评论
Vishwas Bharadwaj
2016-11-1
编辑:Vishwas Bharadwaj
2016-11-1
For MATLAB R2013a and later releases, the Support Packages are downloaded and installed in:
C:\MATLAB\SupportPackages
Coming to the warning message, MATLAB might be showing this warning because the User Access Control (UAC) is turned on in windows. As a result of which the "savepath" function is not available.
As a workaround, I would suggest you to open MATLAB in Administrator mode and then install the support package.
Also, to get a list of support packages installed in a machine you can use the following command:
matlabshared.supportpkg.getInstalled
Hope this helps!
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!