Check that the Matlab class will not be reinstantiated before the last object of this class was properly disposed. If you debug your C# code and end up manually it's on you to dispose the Matlab runtime object.
.Net DLL not working after some time
6 次查看(过去 30 天)
显示 更早的评论
Hi,
we creating a .NET MATLAB DLL and calling the DLL from the C# code. This works for a while withou any problems. But after some times the DLL is not rgoniesd anymore form the C# code. After recompiling the MTALB DLL the code is working correctly again.
How can we solve the problem with out recompileing the Matab DLL or invastigating the error.
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 MATLAB Compiler SDK 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!