.Net DLL not working after some time

조회 수: 2 (최근 30일)
Andre Frauenholz
Andre Frauenholz 2022년 11월 28일
답변: chrisw23 2022년 11월 28일
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.

답변 (1개)

chrisw23
chrisw23 2022년 11월 28일
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.

카테고리

Help CenterFile Exchange에서 .NET Methods in MATLAB에 대해 자세히 알아보기

태그

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by