Arduino hardware support package installation location ?

조회 수: 17 (최근 30일)
Ruzam
Ruzam 2016년 10월 28일
답변: Kurt Stewart 2018년 5월 17일
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
Schilla Lu 2018년 2월 1일
I try to change the authority of user in 'local folder' and add path to solve the problem.
<<
<<
>>
>>

댓글을 달려면 로그인하십시오.

답변 (2개)

Kurt Stewart
Kurt Stewart 2018년 5월 17일
type this in your matlab command line: matlabshared.supportpkg.getSupportPackageRoot

Vishwas Bharadwaj
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!

카테고리

Help CenterFile 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!

Translated by