Error installung Peak CAN Support Package

2 次查看(过去 30 天)
While installing I get the following error:
Error installing third party software PEAK-System PCAN-Basic:
Error executing command
"vnt.supportpackages.peaksystem.setup.installdll('C:\MATLAB\SupportPackages\R2014a\downloads\peaksystem_download', 'pcan-basic', 'pcan-basic.zip')"
Access denied
And on the matlab console
Warning: File 'C:\Windows\SysWOW64\PCANBasic.dll' not found.
> In C:\MATLAB\SupportPackages\R2014a\peaksystem\+vnt\+supportpackages\+peaksystem\+setup\removedll.p>removedll at 12
In C:\Program Files\MATLAB\R2014a\toolbox\shared\hwconnectinstaller\+hwconnectinstaller\+util\evaluateCmd.p>evaluateCmd at 58
In C:\Program Files\MATLAB\R2014a\toolbox\shared\hwconnectinstaller\+hwconnectinstaller\PackageInstaller.p>PackageInstaller.uninstallThirdPartyPackage at 2125
In C:\Program Files\MATLAB\R2014a\toolbox\shared\hwconnectinstaller\+hwconnectinstaller\PackageInstaller.p>PackageInstaller.uninstallTpPkgs at 1433
In C:\Program Files\MATLAB\R2014a\toolbox\shared\hwconnectinstaller\+hwconnectinstaller\PackageInstaller.p>PackageInstaller.install at 1176
In C:\Program Files\MATLAB\R2014a\toolbox\shared\hwconnectinstaller\+hwconnectinstaller\PackageInstaller.p>PackageInstaller.installRecursiveImp at 742
In C:\Program Files\MATLAB\R2014a\toolbox\shared\hwconnectinstaller\+hwconnectinstaller\PackageInstaller.p>PackageInstaller.installRecursive at 599
In C:\Program Files\MATLAB\R2014a\toolbox\shared\hwconnectinstaller\+hwconnectinstaller\+internal\executeConfirm.p>installFromFolder at 278
In C:\Program Files\MATLAB\R2014a\toolbox\shared\hwconnectinstaller\+hwconnectinstaller\+internal\executeConfirm.p>installWorkflow at 204
In C:\Program Files\MATLAB\R2014a\toolbox\shared\hwconnectinstaller\+hwconnectinstaller\+internal\executeConfirm.p>executeConfirm at 68
In C:\Program Files\MATLAB\R2014a\toolbox\shared\hwconnectinstaller\+hwconnectinstaller\Step.p>Step.next at 169
In C:\Program Files\MATLAB\R2014a\toolbox\shared\hwconnectinstaller\+hwconnectinstaller\+internal\executeConfirm.p>@(varargin)hStep.next(varargin{:}) at 35
In C:\Program Files\MATLAB\R2014a\toolbox\shared\hwconnectinstaller\+hwconnectinstaller\+util\+download\MWDownloadManager.p>MWDownloadManager.fireMethod at 388
In C:\Program Files\MATLAB\R2014a\toolbox\shared\hwconnectinstaller\+hwconnectinstaller\+util\+download\MWDownloadManager.p>MWDownloadManager.initCallback/serviceCallback at 363
In hgfeval at 62
In uitools\private\javaaddlistener>cbBridge at 52
In uitools\private\javaaddlistener>@(o,e)cbBridge(o,e,response) at 47
Warning: File 'C:\Windows\System32\PCANBasic.dll' not found.
> In C:\MATLAB\SupportPackages\R2014a\peaksystem\+vnt\+supportpackages\+peaksystem\+setup\removedll.p>removedll at 14
In C:\Program Files\MATLAB\R2014a\toolbox\shared\hwconnectinstaller\+hwconnectinstaller\+util\evaluateCmd.p>evaluateCmd at 58
In C:\Program Files\MATLAB\R2014a\toolbox\shared\hwconnectinstaller\+hwconnectinstaller\PackageInstaller.p>PackageInstaller.uninstallThirdPartyPackage at 2125
In C:\Program Files\MATLAB\R2014a\toolbox\shared\hwconnectinstaller\+hwconnectinstaller\PackageInstaller.p>PackageInstaller.uninstallTpPkgs at 1433
In C:\Program Files\MATLAB\R2014a\toolbox\shared\hwconnectinstaller\+hwconnectinstaller\PackageInstaller.p>PackageInstaller.install at 1176
In C:\Program Files\MATLAB\R2014a\toolbox\shared\hwconnectinstaller\+hwconnectinstaller\PackageInstaller.p>PackageInstaller.installRecursiveImp at 742
In C:\Program Files\MATLAB\R2014a\toolbox\shared\hwconnectinstaller\+hwconnectinstaller\PackageInstaller.p>PackageInstaller.installRecursive at 599
In C:\Program Files\MATLAB\R2014a\toolbox\shared\hwconnectinstaller\+hwconnectinstaller\+internal\executeConfirm.p>installFromFolder at 278
In C:\Program Files\MATLAB\R2014a\toolbox\shared\hwconnectinstaller\+hwconnectinstaller\+internal\executeConfirm.p>installWorkflow at 204
In C:\Program Files\MATLAB\R2014a\toolbox\shared\hwconnectinstaller\+hwconnectinstaller\+internal\executeConfirm.p>executeConfirm at 68
In C:\Program Files\MATLAB\R2014a\toolbox\shared\hwconnectinstaller\+hwconnectinstaller\Step.p>Step.next at 169
In C:\Program Files\MATLAB\R2014a\toolbox\shared\hwconnectinstaller\+hwconnectinstaller\+internal\executeConfirm.p>@(varargin)hStep.next(varargin{:}) at 35
In C:\Program Files\MATLAB\R2014a\toolbox\shared\hwconnectinstaller\+hwconnectinstaller\+util\+download\MWDownloadManager.p>MWDownloadManager.fireMethod at 388
In C:\Program Files\MATLAB\R2014a\toolbox\shared\hwconnectinstaller\+hwconnectinstaller\+util\+download\MWDownloadManager.p>MWDownloadManager.initCallback/serviceCallback at 363
In hgfeval at 62
In uitools\private\javaaddlistener>cbBridge at 52
In uitools\private\javaaddlistener>@(o,e)cbBridge(o,e,response) at 47
How do I fix this?

回答(1 个)

Jon Boerner
Jon Boerner 2014-10-22
The first error looks like it may have caused the second. And the first error looks like a permissions issue. Maybe try starting MATLAB in admin mode and doing the support package installer again?
  2 个评论
Nico
Nico 2014-10-23
Starting Matlab with admin rights doesn't change anything, but I don't know whether the support package installer gets also started with admin rights 0 Comments
Jon Boerner
Jon Boerner 2014-10-23
Interesting. What version of MATLAB are you using?
Running MATLAB in administrator mode did resolve the issue for me. The other thing you can try is to install the support package to a different folder that you have write permissions for:

请先登录,再进行评论。

类别

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