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
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 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!