필터 지우기
필터 지우기

Debugging c# dll in Matlab

조회 수: 2 (최근 30일)
Guillaume A.
Guillaume A. 2011년 11월 29일
Hi, I know how to attach my c# project to an external process, and how to call .net assembly from Matlab. I put a breakpoint in my c# code and can follow the flow of the code to identify an issue. However, if I want to fix the bugg and rebuild the solution, I must close matlab, then reopen it, reload assembly and try the new solution. Isn't there a way to unload an assembly or rebuild the solution without closing matlab each time ? Thks

답변 (2개)

Kaustubha Govind
Kaustubha Govind 2011년 11월 30일
It doesn't seem like this functionality is currently available. I would recommend calling/writing MathWorks Tech Support and ask them to put in an enhancement request for you.
  댓글 수: 2
Titus Edelhofer
Titus Edelhofer 2011년 11월 30일
Indeed, "fresh" from the documentation: "You cannot unload an assembly from MATLAB."
Matt
Matt 2013년 6월 17일
This is killing our productivity. Any chance of a fix?

댓글을 달려면 로그인하십시오.


Fab
Fab 2013년 7월 19일
According to Matlab's support rebooting is the only solution to this problem for the current Matlab Version (8.1.0.604, R2013a):
"The ability to unload an assembly is not available in MATLAB at this point of time. This may be addressed in one of the future releases. Currently, to work around this issue, restart MATLAB."

카테고리

Help CenterFile Exchange에서 Web Services에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by