Can't reload 'C:\Program Files\MATL​AB\R2018b\​bin\win64\​ocv.dll'

26 次查看(过去 30 天)
When I run the function vision.PointTracker, I get the error message: Can't reload 'C:\Program Files\MATLAB\R2018b\bin\win64\ocv.dll'. I already reinstalled matlab, but that did not solve my problem. I use Matlab R2018b. On my other laptop with R2018a, I do not get the error message. What can I do to solve the error?
  7 个评论
Amith Kamath
Amith Kamath 2018-10-15
Thanks for your note, Walter! I have not been able to reproduce this on a Windows 7 SP1 machine (which I know is not a Dell laptop). As far as I can tell, this is independent of Simulink, but I agree that there could likely be other root causes of this problem that I'm not aware of, yet.
jeyanthi selvaraj
jeyanthi selvaraj 2019-2-20
I have a dell laptop with Backup and Recovery program running and i have faced the same issue

请先登录,再进行评论。

回答(3 个)

Amith Kamath
Amith Kamath 2018-11-13
This happens due to the unavailability of the Visual C redistributable DLLs, which can be downloaded from here:
For more details about what changed, see the following:
Upon the installation, restarting MATLAB should resolve this problem. Please report back here if the problem persists in spite of installing this. Thanks!
  4 个评论
SAHIL SETHI
SAHIL SETHI 2020-1-4
编辑:SAHIL SETHI 2020-1-4
Dear Unner Sajid,
I am facing issues installing C redistruable DLLs.
Can you extend your support to me.
Your efforts will be highly appreciated.
Thanks & regards,
Walter Roberson
Walter Roberson 2020-1-4
In https://www.mathworks.com/matlabcentral/answers/127222-cannot-launch-simulink-after-upgrade-to-r2013a#comment_782941 I linked to the current Microsoft document on where to download the redistributable appropriate for your operating system and the Visual Studios version in use. What difficulty did you encounter when you installed? Which operating system are you using, and which MATLAB release are you using?

请先登录,再进行评论。


shrisha HS
shrisha HS 2018-11-5
编辑:shrisha HS 2018-11-5
I am trying to run "Depth Estimation From Stereo Video". Installed Computer Vision tool box on a trial basis. i get " Can't reload 'C:\Program Files\MATLAB\R2018b\bin\win64\ocv.dll'"
error looks like this
Can't reload 'C:\Program Files\MATLAB\R2018b\bin\win64\ocv.dll'
Error in disparity (line 211) disparityMap = ocvDisparitySGBM(I1_u8, I2_u8, optSGBM);
Error in CNN1 (line 27) disparityMap = disparity(frameLeftGray, frameRightGray);
CNN1 is file name Windows 7 64 bit Toshiba satellite C850 laptop, R2018b
  3 个评论
shrisha HS
shrisha HS 2018-11-10
编辑:shrisha HS 2018-11-10
i ran "restoredefaultpath" this is what i get
System error: Command executed: "C:\Program Files\MATLAB\R2018b\sys\perl\win32\bin\perl.exe" "C:\Program Files\MATLAB\R2018b\toolbox\local\getphlpaths.pl" "C:\Program Files\MATLAB\R2018b"

请先登录,再进行评论。


reza moradi
reza moradi 2020-3-1
I have same problem...I install MS Visual Studios Run Time Redistributable 2019 then resolve that
I see this resolve in :

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by