Problem using matlab compiled dlls in C# solution

7 次查看(过去 30 天)
Hello,
We have a C# solution which is referencing a matlab dll (compiled as .NET library).
Till yesterday everything was working.
Now, while executing the solution we start getting following errors
Could not set last modified time: C:/Users/<user name>/AppData/Local/Temp/<user name>/mcrCache9.3/module_400/bin/win64/midi.dll: The process cannot access the file because it is being used by another process
[4/17/2020 1:40:55 PM Warning] Error in extracting CTF file to 'C:\Users\<user name>\AppData\Local\Temp\<user name>\mcrCache9.3\moduleOne_400'. Details: 'Could not set last modified time: C:/Users/<user name>/AppData/Local/Temp/<user name>/mcrCache9.3/moduleOne_400/bin/win64/libmwipp.dll: The process cannot access the file because it is being used by another process'
DLL name keeps changing.
Due to this error, matlab dlls do not load and we cannot use the logic present in matlab dll.
Request your help.
Please note: running scripts from matlab is not a problem.
Thanking you,
With regards,
Kiran
  1 个评论
Yonglun LI
Yonglun LI 2020-7-8
I'm having the exact same issue on a fresh installation, for 9.2.
Previously it was working fine on a different laptop until I switched to the current laptop due to hardware failure.
Thanks.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Application Deployment 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by